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

Please update setup setup.py for Python 3.5 and 3.6 #121

Open
fizwit opened this issue Apr 12, 2017 · 4 comments
Open

Please update setup setup.py for Python 3.5 and 3.6 #121

fizwit opened this issue Apr 12, 2017 · 4 comments

Comments

@fizwit
Copy link

fizwit commented Apr 12, 2017

No description provided.

@mplanchard
Copy link

FYI, updating setuptools to version 35.0.2 resolved the install issue for me. This package should probably specify a minimum required version of setuptools to avoid being unable to install it.

@jasconius
Copy link

Confirmed, if you upgrade setuptools to a sufficiently high version, this issue is bypassed.

@timgraham
Copy link
Collaborator

Do you know how to specify a minimum version of setuptools? I'm not sure if it's worth it. Based on your report, it sounds like the newer version of setuptools is only needed for Python 3.5 and later? What's the error?

@mplanchard
Copy link

In requirements.txt, which is parsed by setup.py, add setuptools>=35.0.2. It's been 5 months since I've had this problem, so I don't remember the exact error, but using a 3.5 virtual environment with a manually installed setuptools of less than 35 should consistently yield the problem. If I remember correctly, setup.py failed, and the package could not be installed.

If you wanted to specify the requirement only for Python 3.5 and up, you could add setuptools>=35.02;python_version>="3.4" to requirements.txt. See declaring platform specific dependencies in the setuptools docs.

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

4 participants