-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsetup.py
99 lines (86 loc) · 3.19 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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
#! /usr/bin/env python
#
# Copyright (C) 2018-2021 Minchang (Carson) Zhang
DESCRIPTION = "dshelper: A GUI tool to display pandas dataframe and draw plots in a few clicks"
LONG_DESCRIPTION = """\
dshelper is a visualization tool designed to help data scientists better examine their data sets.
It utilizes `wxpython <https://www.wxpython.org/>`_ and is closely integrated with `pandas <https://pandas.pydata.org/>`_ data structures and `matplotlib <https://matplotlib.org/>`_ for plotting.
Here are some of the functionalities that dshelper offers:
- A view with raw data and its statistics
- Drag on the header to re-arrange columns
- Left click on the right panel to show/hide columns
- Plots in a few clicks: histogram, heatmap, correlation, scatter, box, violin, pair
- Bottom right buttons to hide panels and focus on data set
- Easy to use in command line, jupyter notebook and docker
"""
DISTNAME = 'dshelper'
MAINTAINER = 'Minchang (Carson) Zhang'
MAINTAINER_EMAIL = 'minchang@ualberta.ca'
URL = 'https://github.com/zmcddn/Data-Science-Helper'
LICENSE = 'MIT'
DOWNLOAD_URL = 'https://github.com/zmcddn/Data-Science-Helper'
VERSION = '0.2.0'
PYTHON_REQUIRES = ">=3.6"
INSTALL_REQUIRES = [
'wxpython>=4.0',
'matplotlib>=3.3.0',
'numpy>=1.19.0',
'pandas>=1.1.0',
'scikit-learn>=0.23.0',
'seaborn>=0.11.0',
]
EXTRAS_REQUIRE = {
'all': [
'statsmodels>=0.12.0',
'Pypubsub>=4.0',
'scipy>=1.5.0',
]
}
CLASSIFIERS = [
'Intended Audience :: Science/Research',
'Intended Audience :: End Users/Desktop',
"Programming Language :: Python",
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'License :: OSI Approved :: MIT License',
'Natural Language :: English',
'Environment :: Console',
'Environment :: MacOS X',
'Environment :: Win32 (MS Windows)',
'Operating System :: Microsoft :: Windows :: Windows 10',
'Operating System :: POSIX :: Linux',
'Topic :: Scientific/Engineering :: Artificial Intelligence',
'Topic :: Scientific/Engineering :: Visualization',
'Topic :: Scientific/Engineering :: Information Analysis',
'Topic :: Software Development :: User Interfaces',
'Topic :: Multimedia :: Graphics',
'Operating System :: OS Independent',
'Framework :: Matplotlib',
]
if __name__ == "__main__":
from setuptools import setup, find_packages
import sys
if sys.version_info[:2] < (3, 6):
raise RuntimeError("dshelper requires python >= 3.6.")
setup(
name=DISTNAME,
author=MAINTAINER,
author_email=MAINTAINER_EMAIL,
maintainer=MAINTAINER,
maintainer_email=MAINTAINER_EMAIL,
description=DESCRIPTION,
long_description=LONG_DESCRIPTION,
license=LICENSE,
url=URL,
version=VERSION,
download_url=DOWNLOAD_URL,
python_requires=PYTHON_REQUIRES,
install_requires=INSTALL_REQUIRES,
extras_require=EXTRAS_REQUIRE,
packages=find_packages(),
package_data={'dshelper': ['*.png', '*.csv']},
include_package_data=True,
classifiers=CLASSIFIERS,
)