forked from KDSource/KDSource
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
67 lines (59 loc) · 1.72 KB
/
setup.py
File metadata and controls
67 lines (59 loc) · 1.72 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
64
65
66
67
#!/usr/bin/env python3
"""KDSource installer script using setuptools.
"""
import os
import re
import setuptools
from setuptools import find_packages
HERE = os.path.abspath(os.path.dirname(__file__))
# Get long description from README
with open(os.path.join(HERE, "README.md"), "r", encoding="utf-8") as fh:
long_description = fh.read()
# Get version
with open(
os.path.join(HERE, "kdsource/__init__.py"), encoding="utf-8"
) as file:
VERSION = re.search(r"__version__ = \"(.*?)\"", file.read()).group(1)
setuptools.setup(
name="kdsource",
version=VERSION,
author="Osiris Inti Abbate",
author_email="intiabbate@gmail.com",
description="Python API for KDSource package",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/inti-abbate/KDSource",
project_urls={},
classifiers=[
"Programming Language :: Python :: 3",
"License ::",
"Operating System :: OS Independent",
],
packages=find_packages(exclude=["tests*"]),
install_requires=[
"numpy>=1.20.3,<2.0",
"scipy>=1.6.3,<2.0",
"matplotlib>=3.4.2,<4.0",
"KDEpy>=1.1.0,<2.0",
"joblib>=1.0.1,<2.0",
"scikit-learn>=1.4.1,<2.0",
"mcpl>=1.3.2,<2.0",
"Pillow>=9.0.1,<10.0",
"astropy>=6.0.0,<7.0",
"h5py>=3.10.0,<4",
"pandas>=2.2.1,<3",
"uncertainties>=3.1.7,<4"
],
python_requires=">=3.6",
extras_require={
"docs": [
"sphinx",
"sphinxcontrib-katex",
"sphinx-numfig",
"jupyter",
"sphinxcontrib-svg2pdfconverter",
"sphinx-rtd-theme",
],
"test": ["pytest"],
},
)