forked from wright-group/WrightTools
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
executable file
·81 lines (71 loc) · 2.09 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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
#! /usr/bin/env python3
import os
from setuptools import setup, find_packages
here = os.path.abspath(os.path.dirname(__file__))
def read(fname):
with open(os.path.join(here, fname)) as f:
return f.read()
extra_files = {
"WrightTools": [
"datasets",
"datasets/*",
"datasets/*/*",
"datasets/*/*/*",
"datasets/*/*/*/*",
"CITATION",
"VERSION",
"WT5_VERSION",
]
}
with open(os.path.join(here, "WrightTools", "VERSION")) as version_file:
version = version_file.read().strip()
docs_require = ["sphinx", "sphinx-gallery==0.8.2", "sphinx-rtd-theme"]
setup(
name="WrightTools",
packages=find_packages(exclude=("tests", "tests.*")),
package_data=extra_files,
python_requires=">=3.6",
install_requires=[
"h5py",
"imageio",
"matplotlib>=3.3.0",
"numexpr",
"numpy>=1.15.0",
"pint",
"python-dateutil",
"scipy",
"tidy_headers>=1.0.0",
],
extras_require={
"docs": docs_require,
"dev": [
"black",
"pre-commit",
"pydocstyle",
"pytest",
"pytest-cov",
"databroker>=1.2",
"msgpack",
]
+ docs_require,
},
version=version,
description="Tools for loading, processing, and plotting multidimensional spectroscopy data.",
long_description=read("README.rst"),
author="WrightTools Developers",
license="MIT",
url="http://wright.tools",
keywords="spectroscopy science multidimensional visualization",
entry_points={"console_scripts": ["wt-tree=WrightTools.__main__:wt_tree"]},
classifiers=[
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Framework :: Matplotlib",
"Natural Language :: English",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Topic :: Scientific/Engineering",
],
)