forked from open-atmos/PySDM
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
59 lines (54 loc) · 2.4 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
54
55
56
57
58
59
"""
the magick behind "pip install PySDM"
"""
import os
from setuptools import find_packages, setup
def get_long_description():
with open("README.md", "r", encoding="utf8") as file:
long_description = file.read()
return long_description
setup(
name="PySDM",
description="Pythonic particle-based (super-droplet) warm-rain/aqueous-chemistry"
" cloud microphysics package with box, parcel & 1D/2D prescribed-flow"
" examples in Python, Julia and Matlab",
use_scm_version={"local_scheme": lambda _: "", "version_scheme": "post-release"},
setup_requires=["setuptools_scm"],
install_requires=[
"ThrustRTC==0.3.20",
"CURandRTC" + ("==0.1.6" if "CI" in os.environ else ">=0.1.2"),
"numba" + ("==0.56.0" if "CI" in os.environ else ">=0.51.2"),
"numpy" + ("==1.21.6" if "CI" in os.environ else ""),
"Pint" + ("==0.17" if "CI" in os.environ else ""),
"chempy" + ("==0.7.10" if "CI" in os.environ else ""),
"scipy" + ("==1.7.3" if "CI" in os.environ else ""),
"pyevtk" + ("==1.2.0" if "CI" in os.environ else ""),
],
author="https://github.com/atmos-cloud-sim-uj/PySDM/graphs/contributors",
author_email="[email protected]",
long_description=get_long_description(),
long_description_content_type="text/markdown",
url="https://github.com/atmos-cloud-sim-uj/PySDM",
license="GPL-3.0",
classifiers=[
"Development Status :: 4 - Beta",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Topic :: Scientific/Engineering",
"Topic :: Scientific/Engineering :: Atmospheric Science",
"Topic :: Scientific/Engineering :: Mathematics",
"Topic :: Scientific/Engineering :: Physics",
"Topic :: Software Development :: Libraries",
],
keywords="physics-simulation, monte-carlo-simulation, gpu-computing,"
" atmospheric-modelling, particle-system, numba, thrust,"
" nvrtc, pint, atmospheric-physics",
packages=find_packages(include=["PySDM", "PySDM.*"]),
project_urls={
"Tracker": "https://github.com/atmos-cloud-sim-uj/PySDM/issues",
"Documentation": "https://atmos-cloud-sim-uj.github.io/PySDM",
"Source": "https://github.com/atmos-cloud-sim-uj/PySDM",
},
)