forked from deeplook/sparklines
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
50 lines (43 loc) · 1.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
import setuptools
import distutils.core
class PyTest(distutils.core.Command):
user_options = []
def initialize_options(self):
pass
def finalize_options(self):
pass
def run(self):
import subprocess
import sys
errno = subprocess.call([sys.executable, 'test/runtests.py'])
raise SystemExit(errno)
setuptools.setup(
name='sparklines',
version='0.4.1',
author='Dinu Gherman',
author_email='[email protected]',
description='Generate sparklines for numbers using Unicode characters only.',
license='GPL',
keywords='visualization, chart, tool',
url='https://github.com/deeplook/sparklines',
packages=setuptools.find_packages(exclude='test'),
long_description=open('README.rst').read(),
install_requires=[
# 'termcolor',
'future',
],
entry_points={
'console_scripts': ['sparklines=sparklines.__main__:main']
},
classifiers=[
'Environment :: Console',
'Intended Audience :: Developers',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.5',
'License :: OSI Approved :: GNU General Public License (GPL)'
],
cmdclass={'test': PyTest},
package_data={
# 'sparklines': ['foo.csv'],
},
)