forked from fluiddyn/fluidfoam
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
53 lines (48 loc) · 1.93 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
53
from setuptools import setup, find_packages
from runpy import run_path
# Get the version from the relevant file
d = run_path('fluidfoam/_version.py')
__version__ = d['__version__']
# Get the development status from the version string
if 'a' in __version__:
devstatus = 'Development Status :: 3 - Alpha'
elif 'b' in __version__:
devstatus = 'Development Status :: 4 - Beta'
else:
devstatus = 'Development Status :: 5 - Production/Stable'
setup(
name="fluidfoam",
version=__version__,
packages=find_packages(exclude=['tutorials']),
# Project uses reStructuredText, so ensure that the docutils get
# installed or upgraded on the target machine
install_requires=['numpy>=1.11', 'scipy==1.7.3',
'matplotlib>=1.5'],
# metadata for upload to PyPI
author = "Cyrille Bonamy",
author_email = "[email protected]",
description = "Openfoam PostProcessing Python Tools",
license = 'GPLv2',
keywords = ["Openfoam", "postprocessing", "CFD"],
url = "http://legi.grenoble-inp.fr", # project home page, if any
classifiers=[
# How mature is this project? Common values are
# 3 - Alpha
# 4 - Beta
# 5 - Production/Stable
devstatus,
'Intended Audience :: Science/Research',
'Intended Audience :: Education',
'Topic :: Scientific/Engineering',
'License :: OSI Approved :: GNU General Public License v2 (GPLv2)',
# actually CeCILL License (GPL compatible license for French laws)
#
# Specify the Python versions you support here. In particular,
# ensure that you indicate whether you support Python 2,
# Python 3 or both.
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9'
])