peerix/setup.py

23 lines
459 B
Python
Raw Normal View History

2021-10-16 20:09:38 -04:00
#setup.py:
2021-10-17 06:01:40 -04:00
import os
2021-10-16 20:09:38 -04:00
from distutils.core import setup
2021-10-17 06:01:40 -04:00
DIR = os.path.dirname(__file__)
with open(os.path.join(DIR, "requirements.txt")) as f:
2021-10-17 06:14:55 -04:00
requirements = [l.strip() for l in f.readlines()]
2021-10-16 20:09:38 -04:00
2021-10-17 06:01:40 -04:00
with open(os.path.join(DIR, "VERSION")) as f:
version = f.read().strip()
2021-10-16 20:09:38 -04:00
setup(
name="peerix",
2021-10-17 06:01:40 -04:00
entry_points={
"console_scripts": [
'peerix = peerix.__main__:run'
]
},
version=version,
requires=requirements
2021-10-16 20:09:38 -04:00
)