Separate build dependencies from install dependencies

Allows setup.py to correctly let mock out of the install dependencies
This commit is contained in:
Luca Boccassi 2019-06-14 12:14:13 +01:00
Родитель 2649d236be
Коммит 874094b8b5
1 изменённых файлов: 3 добавлений и 1 удалений

Просмотреть файл

@ -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="""\