-
Notifications
You must be signed in to change notification settings - Fork 31
/
setup.py
49 lines (45 loc) · 1.15 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
import os
from setuptools import setup, find_packages
__package_name__ = "mphys"
__package_version__ = "1.3.0"
mphys_root = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(mphys_root, 'README.md'), encoding='utf-8') as f:
long_description = f.read()
optional_dependencies = {
'remote': [
'pbs4py',
'zmq'
],
'test': [
'testflo'
],
'docs': [
'sphinx',
'sphinxcontrib.bibtex',
'pbs4py',
'zmq'
]
}
# Add an optional dependency that concatenates all others
optional_dependencies['all'] = sorted([
dependency
for dependencies in optional_dependencies.values()
for dependency in dependencies
])
setup(
name=__package_name__,
version=__package_version__,
description=("Components and related code for multiphysics"
" problems in OpenMDAO"),
long_description=long_description,
long_description_content_type='text/markdown',
author="",
author_email="",
zip_safe=False,
packages = find_packages(),
install_requires=[
'numpy',
'openmdao >= 3.25, != 3.27.0'
],
extras_require=optional_dependencies,
)