-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathsetup.py
More file actions
64 lines (61 loc) · 2.82 KB
/
Copy pathsetup.py
File metadata and controls
64 lines (61 loc) · 2.82 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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
"""
Setup file
Install Loads Kernel with core dependencies via:
- pip install -e <local_repo_path>
To use the graphical tools and other features, optional libraries defined as extras are necessary:
- pip install -e <repo_path>[extras]
Especially with mpi or the graphical libraries, pip frequently fails. In that case, try to install the packages using a
package manager such as conda.
"""
from setuptools import setup, find_packages
with open('README.md', encoding='utf8') as f:
readme = f.read()
setup(
name='LoadsKernel',
version='2026.05',
description=("The Loads Kernel Software allows for the calculation of quasi-steady and dynamic maneuver loads, "
"unsteady gust loads in the time and frequency domain as well as dynamic landing loads based on a "
"generic landing gear module."),
long_description=readme,
long_description_content_type='text/markdown',
url='https://github.com/DLR-AE/LoadsKernel',
author='Arne Voß',
author_email='arne.voss@dlr.de',
license='BSD 3-Clause License',
packages=find_packages(),
entry_points={'console_scripts': ['loads-kernel=loadskernel.program_flow:command_line_interface',
'model-viewer=modelviewer.view:command_line_interface',
'loads-compare=loadscompare.compare:command_line_interface',
'response-viewer=responseviewer.view:command_line_interface',
]},
include_package_data=True,
package_data={'loadskernel': ['graphics/*.*'],
'loadscompare': ['graphics/*.*'],
'responseviewer': ['graphics/*.*'], },
# Remember to update the requirements also in the conda feedstock (./recipe/meta.yml) when changing them here!
python_requires='>=3.12',
install_requires=['PanelAero',
'matplotlib',
'numpy>2.0,<2.4.0', # Mayavi / VTK does not support numpy >= 2.4.0, wait for release of VTK 9.6
'scipy',
'h5py',
'tables',
'pyyaml',
'pandas'
],
extras_require={'extras': ['mpi4py',
'mayavi',
'traits',
'traitsui',
'pyside6',
'jupyter',
'pyfmi',
'pyiges', # only available with pip, not with conda
],
'test': ['pytest',
'pytest-cov',
'jupyter-book',
'flake8',
'pylint',
]},
)