-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
44 lines (39 loc) · 1.29 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
import setuptools
import os
with open("README.rst", "r", encoding="utf-8") as f:
long_description = f.read()
with open(os.path.join("svg_cartesian_plot", "version.py")) as f:
txt = f.read()
last_line = txt.splitlines()[-1]
version_string = last_line.split()[-1]
version = version_string.strip("\"'")
setuptools.setup(
name="svg_cartesian_plot",
version=version,
author="Sebastian Achim Mueller",
author_email="sebastian-achim.mueller@mpi-hd.mpg.de",
description="Make plots in scalable vector graphics",
long_description=long_description,
long_description_content_type="text/x-rst",
url="https://github.com/cherenkov-plenoscope/svg_cartesian_plot",
packages=[
"svg_cartesian_plot",
"svg_cartesian_plot.text",
"svg_cartesian_plot.color",
"svg_cartesian_plot.image",
],
package_data={"svg_cartesian_plot": []},
install_requires=[
"svgwrite>=1.4.3",
"pillow>=10.2.0",
],
classifiers=[
"Natural Language :: English",
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Topic :: Multimedia :: Graphics",
"Intended Audience :: Science/Research",
],
python_requires=">=3.0",
)