How can I subscribe to updates of a package on PyPI?
Yes, an RSS feed is available from pypi.org, see: https://pypi.org/rss/project/virtualenv/releases.xml
Yes, an RSS feed is available from pypi.org, see: https://pypi.org/rss/project/virtualenv/releases.xml
As jinghli notes, there isn’t currently a reliable way to get the dependency of an arbitrary PyPi package remotely without needing to download it completely. And in fact the dependencies sometimes depend on your environment, so an approach like Brian’s of executing setup.py code is needed in the general case. The way the Python ecosystem … Read more
We had a similar need at my company. Basically how can we upload “closed source” packages to an index while being able to install them as if they were on PyPI? We have sponsored a project called devpi which acts as a PyPI cache (packages you access from PyPI will be cached on your server) … Read more
For a lightweight solution, use pypiserver.
This argument for setuptools uses the PEP440 version specifiers spec, so you can ask for: python_requires=”>=2.7,!=3.0.*,!=3.1.*” The commas , are equivalent to logical and operator. Note that the metadata generated is only respected by pip>=9.0.0 (Nov 2016).
EDIT: if you’re using Windows, check my other suggestion It looks like some sort of error with the account I was using. The following steps fixed it for me: Create a new account Upload the package with the new account with twine upload dist/* Add the previous account (that you originally wanted to upload with) … Read more
There are quite a few solutions, e.g. hosting a private repository, but the quickest was to change the requirements.txt file to download from mysql’s cdn. i.e., to change: mysql-connector-python==1.0.12 to https://cdn.mysql.com/Downloads/Connector-Python/mysql-connector-python-2.1.15.tar.gz
platforms is an argument the setuptools package inherits from distutils; see the Additional meta-data section in the distutils documentation: Meta-Data: platforms Description: a list of platforms Value: list of strings So, yes, using a list is the correct syntax. The field just provides metadata; what platforms does the package target. Use this to communicate to … Read more
The Python Wheels site lists the top 360 most-downloaded packages on PyPI showing which have been uploaded as wheel archives. https://pythonwheels.com
Wheels I know this is an old question, but wheel packages have since been invented! Since a wheel is simply a zip file that gets extracted into the lib/site-packages directory, an examination of the contents of the wheel archive can give you the top level imports. >>> import zipfile >>> zf = zipfile.ZipFile(‘setuptools-35.0.2-py2.py3-none-any.whl’) >>> top_level … Read more