Note that there are some explanatory texts on larger screens.

plurals
  1. POWhy is my package not pulling download_url
    text
    copied!<p>I want to shift to using the new <a href="https://github.com/blog/1547-release-your-software" rel="nofollow">GitHub Releases</a> for my packages. I can't figure out what my <code>download_url</code> needs to be. The version is <code>1.3.5</code> I've tried various incarnations of the <code>releases/tag/1.3.5</code>, <code>archive/1.3.5</code>, and <code>archive/1.3.5#egg=v1.3.5</code> to no avail. </p> <p><strong>My question is that in reading the PEP 438 - I know it's looking for <code>simple-history-v1.3.5.EXT</code> but can I force setup.py to use a specific url?</strong></p> <pre><code>from setuptools import find_packages, setup from simple_history import __version__ base_url = 'https://github.com/pivotal-energy-solutions/django-simple-history' setup(name='simple_history', version=__version__, description='Store Django model history with the ability to revert back to a ' 'specific change at any time. This includes capturing request.user', author='Steven Klass', author_email='sklass@pivotalenergysolutions.com', url=base_url, download_url='{0}/archive/{1}.tar.gz'.format(base_url, __version__), license='Apache License (2.0)', classifiers=[ 'Development Status :: 2 - Pre-Alpha', 'Environment :: Web Environment', 'Framework :: Django', 'Intended Audience :: Developers', 'License :: OSI Approved :: Apache Software License', 'Operating System :: OS Independent', 'Programming Language :: Python', 'Topic :: Software Development', ], packages=find_packages(exclude=['tests', 'tests.*']), package_data={'simple_history': ['static/js/*.js', 'templates/simple_history/*.html']}, include_package_data=True, zip_safe=False, requires=['django (&gt;=1.2)', ], ) </code></pre> <p>When I do an easy install it's saying its finding it but it always goes back to version 1.1. Can someone please clue me in on my problem.</p> <pre><code>$ easy_install -vvv simple_history Searching for simple-history Reading http://pypi.python.org/simple/simple_history/ Reading https://github.com/pivotal-energy-solutions/django-simple-history Found link: https://github.com/pivotal-energy-solutions/django-simple-history/archive/master.zip Found link: https://github.com/pivotal-energy-solutions/django-simple-history/archive/1.3.5.tar.gz Found link: https://github.com/pivotal-energy-solutions/django-simple-history/archive/v1.3.3.tar.gz Found link: https://pypi.python.org/packages/source/s/simple_history/simple_history-1.1.tar.gz#md5=b4c4bb2512904d7826a75f58cc9df651 Found link: https://pypi.python.org/packages/source/s/simple_history/simple_history-v1.3.3.tar.gz#md5=1564e23e982553b76a4ed7328fb5b812 Best match: simple-history 1.1 </code></pre>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload