-
Notifications
You must be signed in to change notification settings - Fork 51
/
Copy pathsetup.py
61 lines (56 loc) · 2.86 KB
/
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
# Copyright © 2021 United States Government as represented by the Administrator of the
# National Aeronautics and Space Administration. All Rights Reserved.
from setuptools import setup, find_packages
import pathlib
here = pathlib.Path(__file__).parent.resolve()
# Get the long description from the README file
long_description = (here / 'README.md').read_text(encoding='utf-8')
INSTALL_REQS = [
'scipy',
'pandas', # For data downloading features
'matplotlib',
'requests', # For data downloading features
'chaospy', # For PCE
'fastdtw', # For DTW error calculation
"tensorflow; platform_system!='Darwin' or platform_machine!='arm64'",
"tensorflow-macos; platform_system=='Darwin' and platform_machine=='arm64'",
]
setup(
name='prog_models',
version='1.5.2',
description='The NASA Prognostic Model Package is a python modeling framework focused on defining and building models for prognostics (computation of remaining useful life) of engineering systems, and provides a set of prognostics models for select components developed within this framework, suitable for use in prognostics applications for these components.',
long_description=long_description,
long_description_content_type='text/markdown',
url='https://nasa.github.io/progpy/prog_models_guide.html',
author='Christopher Teubert',
author_email='christopher.a.teubert@nasa.gov',
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Science/Research',
'Intended Audience :: Developers',
'Intended Audience :: Manufacturing',
'Topic :: Scientific/Engineering',
'Topic :: Scientific/Engineering :: Artificial Intelligence',
'Topic :: Scientific/Engineering :: Physics',
'License :: Other/Proprietary License ',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3 :: Only'
],
keywords=['prognostics', 'diagnostics', 'fault detection', 'fdir', 'physics modeling', 'prognostics and health management', 'PHM', 'health management', 'surrogate modeling', 'model tuning', 'simulation', 'ivhm'],
package_dir={"": "src"},
packages=find_packages(where='src'),
python_requires='>=3.7, <3.12',
install_requires=INSTALL_REQS,
license='NOSA',
project_urls={ # Optional
'Bug Reports': 'https://github.com/nasa/prog_models/issues',
'Docs': 'https://nasa.github.io/progpy/prog_models_guide.html',
'Organization': 'https://www.nasa.gov/content/diagnostics-prognostics',
'Source': 'https://github.com/nasa/prog_models',
},
)