mirror of
https://github.com/esphome/aioesphomeapi.git
synced 2024-11-21 11:55:11 +01:00
Load requirements from requirements.txt
This commit is contained in:
parent
8bf95336d6
commit
a802e70e66
3
requirements.txt
Normal file
3
requirements.txt
Normal file
@ -0,0 +1,3 @@
|
||||
attrs>=19.3.0
|
||||
protobuf>=3.12.2,<4.0
|
||||
zeroconf>=0.28.0,<1.0
|
7
setup.py
7
setup.py
@ -28,11 +28,8 @@ GITHUB_URL = 'https://github.com/{}'.format(GITHUB_PATH)
|
||||
|
||||
DOWNLOAD_URL = '{}/archive/{}.zip'.format(GITHUB_URL, VERSION)
|
||||
|
||||
REQUIRES = [
|
||||
'attrs>=19.3.0',
|
||||
'protobuf>=3.12.2,<4.0',
|
||||
'zeroconf>=0.28.0,<1.0',
|
||||
]
|
||||
with open(os.path.join(here, 'requirements.txt')) as requirements_txt:
|
||||
REQUIRES = requirements_txt.read().splitlines()
|
||||
|
||||
setup(
|
||||
name=PROJECT_PACKAGE_NAME,
|
||||
|
Loading…
Reference in New Issue
Block a user