Load requirements from requirements.txt

This commit is contained in:
Otto Winter 2020-07-15 13:41:55 +02:00
parent 8bf95336d6
commit a802e70e66
No known key found for this signature in database
GPG Key ID: 48ED2DDB96D7682C
2 changed files with 5 additions and 5 deletions

3
requirements.txt Normal file
View File

@ -0,0 +1,3 @@
attrs>=19.3.0
protobuf>=3.12.2,<4.0
zeroconf>=0.28.0,<1.0

View File

@ -28,11 +28,8 @@ GITHUB_URL = 'https://github.com/{}'.format(GITHUB_PATH)
DOWNLOAD_URL = '{}/archive/{}.zip'.format(GITHUB_URL, VERSION) DOWNLOAD_URL = '{}/archive/{}.zip'.format(GITHUB_URL, VERSION)
REQUIRES = [ with open(os.path.join(here, 'requirements.txt')) as requirements_txt:
'attrs>=19.3.0', REQUIRES = requirements_txt.read().splitlines()
'protobuf>=3.12.2,<4.0',
'zeroconf>=0.28.0,<1.0',
]
setup( setup(
name=PROJECT_PACKAGE_NAME, name=PROJECT_PACKAGE_NAME,