我正在尝试使用github存储库中的pip安装我的软件包。我在venv中做的所有动作(w / --no-site-packages)。 在包中我使用pbr。我无法安装位于私有存储库中的我的一个要求(我使用ssh链接),我收到了奇怪的消息:
Requirement already satisfied: python>=lpcclient in
/usr/lib/python2.7/lib-dynload (from ansible-lpc-
modules==0.0.1.dev168)
setup.py:
from setuptools import setup
setup(setup_requires=['pbr>=1.8'], pbr=True)
setup.cfg:
[metadata]
name = ansible-lpc-modules
author = Petr
version = 0.0.1
classifier =
Environment :: OpenStack
Intended Audience :: Information Technology
Intended Audience :: System Administrators
Development Status :: In Progress
Operating System :: POSIX :: Linux
Programming Language :: Python
Programming Language :: Python :: 2.7
[pbr]
skip_authors = True
skip_changelog = True
[files]
packages =
ansible/modules/lpc_mdls
ansible/module_utils/lpc_utils
requirements.txt:
ansible
-e git+ssh://git@git.lpc.org/vpc/python-lpcclient.git@develop#egg=python-lpcclient
我做错了什么?我没有全局安装'lpcclient'。