我正在尝试配置 setuptools.setup 脚本。PyPI 包工作正常,但我无法从我的 svn 存储库安装“mypackage”模块。我得到错误:
找不到“myotherpackage”的索引页(可能拼写错误?)
- 我是否忘记了有关 dependency_links 参数的重要内容?
- 提供的参数(见下文)是否正常?
安装程序.py
#!/usr/bin/env python
# -*- coding: utf-8 -*-
from setuptools import setup, find_packages
version = '2.5'
setup(name='myotherpackage',
description='My main package called myotherpackage',
packages=find_packages(),
version=version,
zip_safe=False,
include_package_data=True,
install_requires=['nose','tweepy','myotherpackage'],
dependency_links=['https://code.myrep.net/svn/experimenta/user/myotherpackage/'],
test_suite='nose.collector',
test_require = 'nose',
)