-
Notifications
You must be signed in to change notification settings - Fork 32
/
setup.py
52 lines (49 loc) · 1.96 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
from setuptools import setup, find_packages
import re
import os
__version__ = re.findall(
r"""__version__ = ["']+([0-9\.]*)["']+""",
open("openconcept/__init__.py").read(),
)[0]
this_directory = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(this_directory, "readme.md"), encoding="utf-8") as f:
long_description = f.read()
setup(
name="openconcept",
version=__version__,
description="Open aircraft conceptual design tools",
long_description=long_description,
long_description_content_type="text/markdown",
classifiers=[
"Development Status :: 3 - Alpha",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Operating System :: MacOS :: MacOS X",
"Operating System :: POSIX :: Linux",
"Operating System :: Microsoft :: Windows",
"Topic :: Scientific/Engineering",
"Programming Language :: Python",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: Implementation :: CPython",
],
keywords="aircraft design optimization multidisciplinary multi-disciplinary analysis",
author="Benjamin J. Brelje and Eytan J. Adler",
author_email="",
url="https://github.com/mdolab/openconcept",
download_url="https://github.com/mdolab/openconcept",
license="MIT License",
packages=find_packages(include=["openconcept*"]),
install_requires=[
# Update the oldest package versions in the GitHub Actions build file, the readme,
# and the index.rst file in the docs when you change these
"numpy >=1.20, <=1.26", # OpenMDAO is not compatible with NumPy v2
"scipy>=1.7.0",
"openmdao >=3.21, <=3.30",
],
extras_require={
"testing": ["pytest", "pytest-cov", "coverage", "openaerostruct", "parameterized"],
"docs": ["sphinx_mdolab_theme", "openaerostruct"],
"plot": ["matplotlib"],
},
)