forked from BrandonSmithJ/MDN
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
24 lines (22 loc) · 847 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
from setuptools import setup
from pathlib import Path
from __version__ import __version__
# We can't reference the local requirements file within itself,
# which means installing with e.g. pip install -r MDN/requirements.txt
# won't work if we have requirements listed here, and only a '.' in
# the requirements file.
# Instead, we can reference the local path here, and parse the requirements
with Path(__file__).parent.joinpath('requirements.txt').open() as f:
requirements = [line.strip() for line in f.readlines()]
setup(
name='MDN',
version=__version__,
description='Mixture Density Network',
author='Brandon Smith',
author_email='[email protected]',
url='https://github.com/BrandonSmithJ/MDN',
package_dir={'MDN': ''},
packages=['MDN'],
install_requires=requirements,
include_package_data=True,
)