【发布时间】:2019-02-14 15:42:11
【问题描述】:
我正在尝试构建一个 python 包,下面是我的 setup.py
setup(
name='django-sso_consumer',
version='0.1',
packages=find_packages(),
include_package_data=True,
license='BSD License', # example license
description='A simple Django app for sso_consumenr and hooks',
long_description=README,
url='https://www.example.com/',
author='Paksign',
author_email='shoaib@wukla.com',
classifiers=[
'Environment :: Web Environment',
'Framework :: Django',
'Framework :: Django :: 1.5', # replace "X.Y" as appropriate
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License', # example license
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Topic :: Internet :: WWW/HTTP',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
],
install_requires=[
'wukla_utils',
'rest_framework>=3.6.3',
'django>=1.11.3'
]
)
但在运行sudo python setup.py develop 时,我无法安装它并产生以下错误:
阅读https://pypi.org/simple/ 没有本地包或工作下载 为 rest_framework>=3.6.3 错误找到的链接:找不到合适的链接 Requirement.parse('rest_framework>=3.6.3')
的分布
【问题讨论】: