-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
38 lines (34 loc) · 1.22 KB
/
setup.py
File metadata and controls
38 lines (34 loc) · 1.22 KB
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
34
35
36
37
38
from os.path import join
from glob import glob
import setuptools
DATA_EXTS = {'*.h5'}
def getDataFiles():
"""Return all data files from ``snapReactors/library``"""
files = []
for ext in DATA_EXTS:
files.extend(glob(join('snapReactors', 'library', ext)))
return files
with open("README.md", "r") as fh:
long_description = fh.read()
setuptools.setup(
name="snapReactors",
version="0.0.1",
author="Dan Kotlyar",
author_email="dan.kotlyar@me.gatech.edu",
description="Data from the Systems for Nuclear Auxiliary Power (SNAP)",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/CORE-GATECH-GROUP/SNAP-REACTORS",
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
python_requires='>=3.6',
packages=setuptools.find_packages(include=['snapReactors', 'snapReactors.*']),
package_data={
'snapReactors.databases': ['databases/{}'.format(ext) for ext in DATA_EXTS],
},
include_package_data=True,
data_files=[('snapReactors/databases', getDataFiles())],
)