python下载包没用_为什么我的包没有下载

我想将新的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}$

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值