-
Notifications
You must be signed in to change notification settings - Fork 5
/
setup.py
33 lines (27 loc) · 950 Bytes
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
from setuptools import setup, find_packages
from pathlib import Path
THISDIR = Path(__file__).parent
with open(THISDIR / "requirements" / "common.txt") as f:
common_required = f.read().splitlines()
with open(THISDIR / "requirements" / "dev.txt") as f:
dev_required = f.read().splitlines()
with open(THISDIR / "README.md", encoding="utf-8") as f:
long_description = f.read()
main_ns = {}
with open(THISDIR / "autoregressive" / "__version__.py") as ver_file:
exec(ver_file.read(), main_ns)
setup(
name="autoregressive",
author="Christoph Heindl",
description="Autoregressive Models in PyTorch.",
license="MIT",
long_description=long_description,
long_description_content_type="text/markdown",
version=main_ns["__version__"],
packages=find_packages(".", include="autoregressive*"),
install_requires=common_required,
zip_safe=False,
extras_require={
"dev": dev_required,
},
)