-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathsetup.py
More file actions
78 lines (72 loc) · 1.98 KB
/
setup.py
File metadata and controls
78 lines (72 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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
# -*- coding: utf-8 -*-
import glob
import os
from setuptools import find_packages, setup
DISTNAME = "kkplot"
VERSION = "0.2.1"
LICENSE = "MIT"
AUTHOR = "Steffen Klatt, David Kraus"
AUTHOR_EMAIL = "david.kraus@gmx.de"
URL = "https://github.com/deekaey/kkplot"
DESCRIPTION = "A scientific plotting tool for environmental data."
PYTHON_REQUIRES = ">=3.7"
CLASSIFIERS = [
"Development Status :: 3 - Alpha",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Intended Audience :: Science/Research",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Topic :: Scientific/Engineering",
]
here = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(here, "README.md"), encoding="utf-8") as f:
LONG_DESCRIPTION = f.read()
INSTALL_REQUIRES = [
"bokeh",
"holoviews",
"pylatexenc",
"matplotlib",
"numexpr>=2.7.0",
"numpy",
"pandas",
"pillow",
"pyyaml",
"scipy",
"python-dotenv",
]
setup(
name=DISTNAME,
version=VERSION,
license=LICENSE,
author=AUTHOR,
author_email=AUTHOR_EMAIL,
url=URL,
description=DESCRIPTION,
long_description=LONG_DESCRIPTION,
long_description_content_type="text/markdown",
classifiers=CLASSIFIERS,
python_requires=PYTHON_REQUIRES,
packages=find_packages("src", exclude=["docs", "tests", "tests.*"]),
package_dir={"": "src"},
py_modules=[
os.path.splitext(os.path.basename(p))[0]
for p in glob.glob(os.path.join("src", "*.py"))
],
install_requires=INSTALL_REQUIRES,
include_package_data=True,
zip_safe=False,
entry_points={
"console_scripts": [
"kkplot=kkplot.kkplot:main",
],
},
project_urls={
"Source": URL,
"Tracker": f"{URL}/issues",
},
)