OB.DAAC Logo
NASA Logo
Ocean Color Science Software

ocssw V2022
setup.py
Go to the documentation of this file.
1 from setuptools import setup
2 from pathlib import Path
3 from __version__ import __version__
4 
5 # We can't reference the local requirements file within itself,
6 # which means installing with e.g. pip install -r MDN/requirements.txt
7 # won't work if we have requirements listed here, and only a '.' in
8 # the requirements file.
9 # Instead, we can reference the local path here, and parse the requirements
10 with Path(__file__).parent.joinpath('requirements.txt').open() as f:
11  requirements = [line.strip() for line in f.readlines()]
12 
13 setup(
14  name='MDN',
15  version=__version__,
16  description='Mixture Density Network',
17  author='Brandon Smith',
18  author_email='b.smith@nasa.gov',
19  url='https://github.com/BrandonSmithJ/MDN',
20  package_dir={'MDN': ''},
21  packages=['MDN'],
22  install_requires=requirements,
23  include_package_data=True,
24 )
Definition: setup.py:1