11#! /usr/bin/env python3
22
3- import os
4- from setuptools import setup , find_packages
5-
6-
7- here = os .path .abspath (os .path .dirname (__file__ ))
8-
93
10- def read (fname ):
11- with open (os .path .join (here , fname )) as f :
12- return f .read ()
4+ from setuptools import setup , find_packages
135
146
157extra_files = {
@@ -25,67 +17,7 @@ def read(fname):
2517 ]
2618}
2719
28- with open (os .path .join (here , "WrightTools" , "VERSION" )) as version_file :
29- version = version_file .read ().strip ()
30-
31- docs_require = ["sphinx<8.0" , "sphinx-gallery==0.8.2" , "sphinx-rtd-theme" ]
32-
3320setup (
34- name = "WrightTools" ,
3521 packages = find_packages (exclude = ("tests" , "tests.*" )),
3622 package_data = extra_files ,
37- python_requires = ">=3.7" ,
38- install_requires = [
39- "h5py" ,
40- "imageio>=2.28.0" ,
41- "matplotlib>=3.4.0" ,
42- "numexpr" ,
43- "numpy>=1.15.0" ,
44- "pint" ,
45- "python-dateutil" ,
46- "scipy" ,
47- "click" ,
48- "tidy_headers>=1.0.4" ,
49- "rich" ,
50- ],
51- extras_require = {
52- "docs" : docs_require ,
53- "dev" : [
54- "black" ,
55- "pre-commit" ,
56- "pydocstyle" ,
57- "pytest" ,
58- "pytest-cov" ,
59- "databroker>=1.2" ,
60- "msgpack" ,
61- ]
62- + docs_require ,
63- },
64- version = version ,
65- description = "Tools for loading, processing, and plotting multidimensional spectroscopy data." ,
66- description_content_type = "text/plain" ,
67- long_description = read ("README.rst" ),
68- long_description_content_type = "text/x-rst" ,
69- author = "WrightTools Developers" ,
70- license = "MIT" ,
71- url = "http://wright.tools" ,
72- keywords = "spectroscopy science multidimensional visualization" ,
73- entry_points = {
74- "console_scripts" : [
75- "wt5=WrightTools.cli._wt5:cli" ,
76- "wt-convert=WrightTools.cli._units:cli" ,
77- ]
78- },
79- classifiers = [
80- "Development Status :: 5 - Production/Stable" ,
81- "Intended Audience :: Science/Research" ,
82- "License :: OSI Approved :: MIT License" ,
83- "Framework :: Matplotlib" ,
84- "Natural Language :: English" ,
85- "Programming Language :: Python :: 3" ,
86- "Programming Language :: Python :: 3.11" ,
87- "Programming Language :: Python :: 3.12" ,
88- "Programming Language :: Python :: 3.13" ,
89- "Topic :: Scientific/Engineering" ,
90- ],
9123)
0 commit comments