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

Raise warning if installing with python 2 #50

Closed
rafacarrascosa opened this issue Nov 8, 2014 · 6 comments
Closed

Raise warning if installing with python 2 #50

rafacarrascosa opened this issue Nov 8, 2014 · 6 comments

Comments

@rafacarrascosa
Copy link
Member

Enhancement proposal by @makmanalp thanks for reporting!

"While installing, it took me a minute to realize that it was python 3 only, which is not a big deal, but it might help to have something in setup.py that errors out and gives you a message if you try to do that - or maybe there's a way in pypi to disallow from installing on python 2?"

@jmansilla
Copy link
Contributor

Couldn't find how to do this (pypi provides a python-2-only label, but not a python-3-only), and putting something on setup.py doesn't seem to solve anything, because the python2 finds syntax errors before even trying.

https://pypi.python.org/pypi?%3Aaction=list_classifiers

@rafacarrascosa
Copy link
Member Author

Great! Thanks Javi, I reported this to pypi:

https://sourceforge.net/p/pypi/support-requests/436/

Issue report snowball! Yaaay!

@rafacarrascosa
Copy link
Member Author

Monsieur Mansilla your wishes are my commands, new trove classifier added into pypi :D

@mgaitan
Copy link

mgaitan commented Nov 14, 2014

On Fri, Nov 14, 2014 at 3:13 AM, rafacarrascosa notifications@github.com
wrote:

Monsieur Mansilla your wishes are my commands, new trove classifier added
into pypi :D

Made :: by :: Ñoños :: Only

is it available?

;-)

@jmansilla
Copy link
Contributor

Buenísimo.

Ni idea si eso alcanzara para el request inicial, intentemos.

Javier Mansilla.

@jmansilla
Copy link
Contributor

It's on develop now.

Hopefully a future version of PIP will be able to do something with packages having that label.

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

No branches or pull requests

3 participants