-
Notifications
You must be signed in to change notification settings - Fork 99
/
setup.py
43 lines (39 loc) · 1.38 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
from setuptools import setup, find_packages
import re
import os
__version__ = re.findall(
r"""__version__ = ["']+([0-9\.]*)["']+""",
open("adflow/__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()
with open("doc/requirements.txt") as f:
docs_require = f.read().splitlines()
setup(
name="adflow",
version=__version__,
description="ADflow is a multi-block structured flow solver developed by the MDO Lab at the University of Michigan",
long_description=long_description,
long_description_content_type="text/markdown",
keywords="RANS adjoint fast optimization",
author="",
author_email="",
url="https://github.com/mdolab/adflow",
license="LGPL version 2.1",
packages=find_packages(include=["adflow*"]),
package_data={"adflow": ["*.so"]},
install_requires=[
"numpy>=1.16,!=1.24,!=1.24.1,!=1.24.2",
"mdolab-baseclasses>=1.4",
"mpi4py>=3.0",
"scipy",
],
extras_require={
"docs": docs_require,
"testing": ["parameterized", "testflo", "idwarp", "pygeo", "pyspline"],
"mphys": ["openmdao", "mphys", "idwarp"],
"complex": ["complexify"],
},
classifiers=["Operating System :: Linux", "Programming Language :: Python, Fortran"],
)