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
BUG: Module not added to package; not importable #29
Conversation
Unstable versions should be indicated with dev0 instead of a patch number.
Awesome, thanks a bunch @scottclowe - much appreciated. |
Thanks for the quick response and merging this in. It would be great if you could release ranger on pip. I realise that @mpariente has put it up there, as they mention in #25. But it isn't their package so they aren't keeping it up to date (i.e. it doesn't have the new Gradient Centralization feature). I'm sure if you ask them, @mpariente will let you take over the pytorch-ranger package identifier on PyPI. |
Hi to both of you |
Hi @scottclowe and @mpariente - thanks to both of you. |
Hey @lessw2020, can you create an account on pypi please? Or give me your username if you already have one, lessw2020 didn't work. |
Hi @mpariente -thanks for the update. I've made a new account on pypi, same user name - lessw2020 |
I added you as the owner, sorry for the delay ! Have a nice day ! |
Hey @lessw2020 ! |
ranger currently cannot be used from a pip install because the ranger module was not added to the package. The package is entirely empty, resulting in the following error:
This is resolved by using
setuptools.findpackages
to add the ranger module to the package.I also added the README.md contents as long_description in setup.py, and incremented the version number to 0.1.dev0. Using dev or dev0 as the patch number indicates that the version is unstable, i.e. there is a one-to-many mapping from the version number, 0.1.dev0, to the state of the codebase in the repository.
I can split this out into multiple PRs if you'd prefer.