Repository navigation
Expand file tree
/
Copy pathsetup.py
More file actions
63 lines (59 loc) · 1.98 KB
/
Copy pathsetup.py
File metadata and controls
63 lines (59 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
55
56
57
58
59
60
61
62
63
import io
import numpy as np
import os
from setuptools import setup
name = "pyvorotomo"
description = "Version 2 of a Parsimonious Voronoi-cell based tomography code (originally by Fang et al., 2019)"
url = "https://github.com/filefolder/PyVoroTomo"
email = "robert.pickle@anu.edu.au"
author = "Robert Pickle and Hongjian Fang and Malcolm C. A. White"
requires_python = ">=3.10"
packages = ["pyvorotomo"]
required = [
"KDEpy>=1.1.12",
"mpi4py>=4.1.2",
"h5py>=3.15",
"numpy>=2.4.0",
"scipy>=1.18.0",
"pandas>=2.3.3",
"pykonal>=0.5.5",
"tables>=3.11.0",
"arrow>=1.4.0",
]
scripts = ["bin/pyvorotomo"]
license = "GNU GPLv3"
here = os.path.abspath(os.path.dirname(__file__))
about = {}
project_slug = name.lower().replace("-", "_").replace(" ", "_")
with open(os.path.join(here, project_slug, "__version__.py")) as f:
exec(f.read(), about)
setup(
name=name,
version=about["__version__"],
description=description,
author=author,
author_email=email,
python_requires=requires_python,
url=url,
packages=packages,
scripts=scripts,
install_requires=required,
license=license,
classifiers=[
'Development Status :: 4 - Beta',
"Intended Audience :: Science/Research",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Operating System :: MacOS :: MacOS X",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Programming Language :: Python :: 3.15",
"Programming Language :: Python :: Implementation :: CPython",
"Topic :: Scientific/Engineering :: Physics"
]
)