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

python setup.py dev fails due to mock dependency on setuptools>=17.1 #3

Closed
brianthelion opened this issue Oct 27, 2015 · 1 comment
Closed

Comments

@brianthelion
Copy link

$ python -c "import setuptools; print setuptools.__version__"
2.2
$ python setup.py dev
....
Searching for mock
Reading https://pypi.python.org/simple/mock/
Best match: mock 1.3.0
Downloading https://pypi.python.org/packages/source/m/mock/mock-1.3.0.tar.gz#md5=73ee8a4afb3ff4da1b4afa287f39fdeb
Processing mock-1.3.0.tar.gz
Writing /tmp/easy_install-31PJ1j/mock-1.3.0/setup.cfg
Running mock-1.3.0/setup.py -q bdist_egg --dist-dir /tmp/easy_install-31PJ1j/mock-1.3.0/egg-dist-tmp-w60v2R
mock requires setuptools>=17.1. Aborting installation
error: Setup script exited with 1

This can be addressed in setup.py:

setup(name='foo',
    ...
    setup_requires=['setuptools>=17.1'],
    )
@cguardia
Copy link
Owner

Thanks. Added that to setup.py.

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

2 participants