-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsetup.py
More file actions
76 lines (64 loc) · 2.94 KB
/
setup.py
File metadata and controls
76 lines (64 loc) · 2.94 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
65
66
67
68
69
70
71
72
73
74
75
76
import setuptools
from setuptools import find_packages
__version__="0.1.0"
with open("README.md", "r") as fh:
long_description = fh.read()
# def packages_list():
# packages = []
# packages.extend(find_packages(where='src/endorse'))
# print("Detected packages: ", packages)
# [*find_packages(), 'endorse.mesh', 'endorse.common'],
# return packages
setuptools.setup(
name="endorse",
version=__version__,
license='GPL 3.0',
description='Stochastic model of excavation damage zone and its safety indicators.',
long_description=long_description,
long_description_content_type="text/markdown",
author='Jan Brezina',
author_email='jan.brezina@tul.cz',
url='https://github.com/flow123d/swrap',
download_url='https://github.com/flow123d/swrap/archive/v{__version__}.tar.gz',
classifiers=[
# complete classifier list: http://pypi.python.org/pypi?%3Aaction=list_classifiers
'Development Status :: 3 - Alpha',
'License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)',
'Programming Language :: Python :: 3',
'Intended Audience :: Developers',
'Intended Audience :: Science/Research',
# uncomment if you test on these interpreters:
# 'Programming Language :: Python :: Implementation :: IronPython',
# 'Programming Language :: Python :: Implementation :: Jython',
# 'Programming Language :: Python :: Implementation :: Stackless',
'Topic :: Scientific/Engineering',
],
keywords=[
'excavation damage zone', 'stochastic simulation', 'radioactive waste repository',
],
# include_package_data=True, # package includes all files of the package directory
zip_safe=False,
install_requires=['numpy>=1.13.4', 'pandas', 'scipy', 'matplotlib', 'seaborn',
'bih', 'gmsh>=4.10.4', 'pyyaml','fsspec',
'pyyaml-include==2.2', 'pyvista', 'importlib-resources', 'joblib',
'bgem @ git+https://github.com/GeoMop/bgem.git@JB_homo',
'mlmc @ git+https://github.com/GeoMop/MLMC.git@MS_endorse'],
# TODO: update image python from 3.8 and use standard package importlib.resources
# or rather get rid of flow123d templates as part of sources
python_requires='>=3',
# according to setuptols documentation
# the including 'endorse.flow123d_inputs' should not be neccessary,
# however packege_data 'endorse.flow123d_inputs' doesn't work without it
packages=['endorse', 'endorse.common', 'endorse.flow123d_inputs', 'endorse.mesh',
'endorse.mlmc', 'endorse.scripts'],
package_dir={
"": "src"
},
package_data={
"endorse" : ["*.txt"],
"endorse.flow123d_inputs": ['*.yaml']
},
entry_points={
'console_scripts': ['endorse_gui=endorse.gui.app:main', 'endorse_mlmc=endorse.scripts.endorse_mlmc:main']
}
)