-
Notifications
You must be signed in to change notification settings - Fork 24
/
Copy pathsetup.py
66 lines (57 loc) · 2.3 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
# WQChartPy setup script
#
# Created on...Sep 14, 2021 10:23:05
DESCRIPTION = "Python Package for Visualization of Water Geochemistry Data"
LONG_DESCRIPTION = """\
WQChartPy is an open-source python package developed for graphical diagrams
of water geochemistry data. Utilizing the commonly used CSV
as the input data format, WQChartPy can produce
eleven diagrams including not only the traditional Piper trilinear diagram,
Stiff diagram, Durov diagram and Schoeller diagram, but also the recently
proposed new diagrams such as the rectangle Piper, color-coded Piper and HFE-D
that has not implemented in previous software.
This is the first release of WQChartPy. As a Python-based cross platform
program, WQChartPy works on Windows, MacOS X and GNU/Linux. We provided a
self-contained Jupyter notebook file to illustrate how to use WQChartPy.
Users with a little Python experience can do the whole process from data to
the graphical diagrams. Buidling on the oldest and most popular Python
plotting library Matplotlib, the figures generated by WQChartPy can be saved
as portable network graphics (PNG), scalable vector graphics (SVG) or portable
document format (PDF). WQChartPy is an open-source project and any
assistance is welcomed. Please email the development team if you want to
contribute.
"""
DISTNAME = 'wqchartpy'
MAINTAINER = 'Jing Yang'
MAINTAINER_EMAIL = 'jingyang@cug.edu.cn'
LICENSE = 'GNU General Public License v3.0'
VERSION = '0.1.9'
PYTHON_REQUIRES = ">=3.7"
INSTALL_REQUIRES = [
'numpy>=1.19.2',
'pandas>=1.0.3',
'matplotlib>=3.3.4',
'scipy>=1.6.2',
'scikit-learn>=0.23.1',
]
if __name__ == "__main__":
from setuptools import setup, find_packages
import sys
if sys.version_info[:2] < (3, 7):
raise RuntimeError("wqchartpy requires python >= 3.7.")
setup(
name=DISTNAME,
version=VERSION,
author=MAINTAINER,
author_email=MAINTAINER_EMAIL,
maintainer=MAINTAINER,
maintainer_email=MAINTAINER_EMAIL,
description=DESCRIPTION,
long_description=LONG_DESCRIPTION,
url='https://www.github.com/jyangfsu/WQChartPy',
license=LICENSE,
packages = find_packages(),
include_package_data=True,
python_requires=PYTHON_REQUIRES,
install_requires=INSTALL_REQUIRES,
)