mirror of
https://github.com/esphome/aioesphomeapi.git
synced 2024-11-22 12:05:12 +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)
|
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,
|
||||||
|
Loading…
Reference in New Issue
Block a user