-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
46 lines (40 loc) · 1.12 KB
/
setup.py
File metadata and controls
46 lines (40 loc) · 1.12 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
import os
from setuptools import setup
import versioneer
packages = [
"py2vtk",
"py2vtk.api",
"py2vtk.core",
"py2vtk.mpi",
# 'py2vtk.dask',
]
tests = ["tests"]
install_requires = [
"numpy",
]
extras_require = {
"tests": ["pytest", "vtk", "mpi4py"],
"mpi": ["mpi4py"],
"doc": ["sphinx-rtd-theme"],
"dask": ["dask[array,delayed,distributed]"],
}
setup(
name="py2vtk",
version=versioneer.get_version(),
cmdclass=versioneer.get_cmdclass(),
description="Low dependency module to export to VTK from python",
url="https://github.com/anlavandier/py2vtk",
author="Antoine Lavandier",
author_email="antoine.lavandier.24.11@gmail.com",
license="MIT",
keywords="Visualization VTK",
packages=packages + tests,
long_description=open("README.md").read() if os.path.exists("README.md") else "",
long_description_content_type="text/markdown",
python_requires=">=3.7",
install_requires=install_requires,
extras_require=extras_require,
include_package_data=True,
zip_safe=False,
# https://mypy.readthedocs.io/en/latest/installed_packages.html
)