pyg icon indicating copy to clipboard operation
pyg copied to clipboard

Allow `dev` version

Open rubik opened this issue 14 years ago • 4 comments

For example:

$ pyg install pkgtools==dev

rubik avatar Jun 09 '11 13:06 rubik

Do you already know how is it going to be implemented ?

fdev31 avatar Jul 04 '11 19:07 fdev31

I actually have no idea. :) But we can add an attribute or something to our Requirement and then retrieve specific files from PyPI. Another way would be to rely on pkg_resources.Requirement.parse for the parsing.

rubik avatar Jul 05 '11 06:07 rubik

I think for now we can rely on our web.get_links, in the future we can implement our own finder.

rubik avatar Aug 11 '11 09:08 rubik

I uploaded a test package to PyPI: pyg_test_dev. You can try to install it with the following command:

$ pyg install pyg_test_dev==dev

It should work. I also tried with sphinx==dev but it raises some strange errors:

$ pyg i sphinx==dev
Looking for sphinx releases on PyPI
Looking for packages at http://pypi.python.org/simple
Error: An error occurred during the installation of sphinx==dev: Error: Cannot find files available for dowloading and installing
Removing broken files...
Unknown error occurred: (Sphinx 1.1predev-20110718 (/home/miki/env/lib/python2.7/site-packages/Sphinx-1.1predev_20110718-py2.7.egg), Requirement.parse('sphinx==dev'))

rubik avatar Sep 17 '11 09:09 rubik