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

pip2 version 0.0.0 instead of 0.0.30 #11

Closed
adriaanph opened this issue Jun 14, 2021 · 5 comments
Closed

pip2 version 0.0.0 instead of 0.0.30 #11

adriaanph opened this issue Jun 14, 2021 · 5 comments

Comments

@adriaanph
Copy link
Contributor

thanks for the recent changes - very useful.

i have just attempted to install using pip2 (python2), but the version number is 0.0.0 instead of 0.0.30. doing the same using pip3 (python3) correctly shows it as 0.0.30.

in the end i opted to install from git instead of pip. this installed the correct code and the version is now correct.

here are the steps i followed to install from github:
$ git clone https://github.com/jacopoantonello/zernike
$ pip2 install zernike

@jacopoantonello
Copy link
Owner

Related to #12 . Here 0.0.0 is used if setup.py cannot determine the version automatically (e.g. there's no tags or git is not installed). Doesn't pip2 install zernike work with the already made package downloaded from pypi? Why do you need to make the package again from the source code?

@adriaanph
Copy link
Contributor Author

from my opening post:

i have just attempted to install using pip2 (python2), but the version number is 0.0.0 instead of 0.0.30. doing the same using pip3 (python3) correctly shows it as 0.0.30.

to be clear: pip2 install zernike results in version being reported as 0.0.0

@adriaanph
Copy link
Contributor Author

i don't have any experience with pypi but perhaps there's something wrong with the way in which you publish to pypi for python 2?

@jacopoantonello
Copy link
Owner

Can you check whether now you can install with pip2 install zernike? I don't have Python 2

@adriaanph
Copy link
Contributor Author

adriaanph commented Jun 17, 2021

it works now! 0.0.31 is correctly installed using pip2 install zernike.
i see you added the "--universal" switch to build the "wheel" with. good to know it was something so simple!

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