Repository navigation
Expand file tree
/
Copy pathsetup.py
More file actions
54 lines (50 loc) · 1.98 KB
/
Copy pathsetup.py
File metadata and controls
54 lines (50 loc) · 1.98 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
"""
the magick behind ``pip install ...``
"""
import os
from setuptools import setup, find_packages
def get_long_description():
"""returns contents of README.md file"""
with open("README.md", "r", encoding="utf8") as file:
long_description = file.read()
return long_description
setup(
name='PyMPDATA',
description='Numba-accelerated Pythonic implementation of MPDATA '
'with examples in Python, Julia and Matlab',
use_scm_version={
"local_scheme": lambda _: "",
"version_scheme": "post-release"
},
setup_requires=['setuptools_scm'],
install_requires=[
'numba' + ('==0.56.0' if 'CI' in os.environ else ''),
'numpy' + ('==1.21.6' if 'CI' in os.environ else ''),
'pystrict'
],
author='https://github.com/atmos-cloud-sim-uj/PyMPDATA/graphs/contributors',
author_email='sylwester.arabas@uj.edu.pl',
license="GPL-3.0",
packages=find_packages(include=['PyMPDATA', 'PyMPDATA.*']),
long_description=get_long_description(),
long_description_content_type="text/markdown",
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='atmospheric-modelling, numba, numerical-integration, '
'advection, pde-solver, advection-diffusion',
project_urls={
"Tracker": "https://github.com/atmos-cloud-sim-uj/PyMPDATA/issues",
"Documentation": "https://atmos-cloud-sim-uj.github.io/PyMPDATA",
"Source": "https://github.com/atmos-cloud-sim-uj/PyMPDATA"
}
)