我想将新的GitHub Releases用于我的包。我不知道我的download_url需要什么。这个版本是1.3.5我尝试过releases/tag/1.3.5,archive/1.3.5,和{}的不同化身,但都没有用。在
我的问题是,在阅读pep438时,我知道它在寻找simple-history-v1.3.5.EXT,但我能强制吗设置.py使用特定的url?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 (>=1.2)', ],
)
当我做一个简单的安装,它说它找到它,但它总是回到版本1.1。有人能告诉我我的问题吗。在
^{pr2}$