我尝试使用pip来设置一个环境,而从项目的根目录运行pip install-e/并不能获得所有信息。我有一个设置.py包含requires节的文件如下所示:
requires = [
'phonenumbers',
'inflect',
'repoze.sendmail==4.1',
'pyramid',
'pyramid_chameleon',
'pyramid_debugtoolbar',
'pyramid_mailer',
'pyramid_tm',
'transaction',
'zope.sqlalchemy',
'waitress',
'pyramid_beaker',
'cryptacular',
'pycrypto',
'webtest',
'alembic',
'psycopg2',
'python-dateutil',
'sqlalchemy-utils',
'cryptacular',
'arrow',
'jsonpickle',
'sqlalchemy',
'pyramid_storage',
'boto',
'requests'
]
运行该命令时,某些库(如boto)将不会安装。有人知道为什么会错过这些包裹吗?在
编辑:这里有一个设置调用设置.py,删除了一些无关的部分:
^{pr2}$
setup()
的requires
参数实际上不起任何作用,因此无论出于何种目的,都应被视为已弃用且无用。在请改用^{} 。在
相关问题 更多 >
编程相关推荐