Separate build dependencies from install dependencies
Allows setup.py to correctly let mock out of the install dependencies
This commit is contained in:
Родитель
2649d236be
Коммит
874094b8b5
4
setup.py
4
setup.py
|
@ -16,7 +16,8 @@ VERSION = "1.0.2"
|
|||
# prerequisite: setuptools
|
||||
# http://pypi.python.org/pypi/setuptools
|
||||
|
||||
REQUIRES = ["msrest>=0.2.0", 'mock']
|
||||
REQUIRES = ["msrest>=0.2.0"]
|
||||
TEST_REQUIRES = ["msrest>=0.2.0", 'mock']
|
||||
|
||||
setup(
|
||||
name=NAME,
|
||||
|
@ -26,6 +27,7 @@ setup(
|
|||
url="https://github.com/microsoft/vsts-cd-manager",
|
||||
keywords=["Microsoft", "VSTS", "Team Services", "SDK", "AzureTfs"],
|
||||
install_requires=REQUIRES,
|
||||
tests_require=TEST_REQUIRES,
|
||||
packages=find_packages(),
|
||||
include_package_data=True,
|
||||
long_description="""\
|
||||
|
|
Загрузка…
Ссылка в новой задаче