peerix/setup.py

24 lines
500 B
Python
Raw Permalink 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-17 06:57:12 -04:00
from setuptools import setup, find_packages
2021-10-16 20:09:38 -04:00
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:57:12 -04:00
packages=find_packages(),
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
)