Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pip.main has moved, breaking the example setup.py #23

Open
stuaxo opened this issue Aug 7, 2018 · 0 comments
Open

pip.main has moved, breaking the example setup.py #23

stuaxo opened this issue Aug 7, 2018 · 0 comments

Comments

@stuaxo
Copy link

stuaxo commented Aug 7, 2018

pip.main doesn't exist in current pip, so the example in the README no longer works.

I'm experimenting with an alternate setup.py using install_requires -

# -*- coding: utf-8 -*-
from setuptools import setup

setup_kwargs=dict(
    name='cairo-jupyter',
    packages=['cairo_jupyter'],
    install_requires=["jupyter-pip"],
)

try:
    from jupyterpip import cmdclass
    setup_params['cmdclass'] = jupyterpip
except:
    cmdclass=setup

setup(**setup_kwargs)

Haven't actually landed it in my own codebase yet, but when I do I can make a PR if this looks good here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant