-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
98 lines (86 loc) · 2.91 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
#!/usr/bin/env python
# -*- encoding: utf-8 -*-
from __future__ import (
absolute_import,
print_function,
)
import io
from glob import glob
from os.path import (
basename,
dirname,
join,
splitext,
)
from setuptools import find_packages, setup
def read(*names, **kwargs):
return io.open(
join(dirname(__file__), *names),
encoding=kwargs.get('encoding', 'utf8')
).read()
setup(
name='autopalette',
version='0.1.0_2',
license='BSD License',
description='Terminal palettes and themes, without tears.',
long_description=read('README.rst'),
author='Harshad Sharma',
author_email='[email protected]',
url='https://github.com/hiway/autopalette',
packages=find_packages('src'),
package_dir={'': 'src'},
py_modules=[splitext(basename(path))[0] for path in glob('src/*.py')],
include_package_data=True,
zip_safe=False,
classifiers=[
# complete classifier list:
# http://pypi.python.org/pypi?%3Aaction=list_classifiers
'Environment :: Console',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: POSIX',
'Operating System :: POSIX :: BSD',
'Operating System :: POSIX :: BSD :: FreeBSD',
'Operating System :: POSIX :: Linux',
'Operating System :: Unix',
'Programming Language :: Python',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3 :: Only',
'Programming Language :: Python :: Implementation :: CPython',
'Topic :: Terminals',
'Topic :: Software Development',
'Topic :: Software Development :: User Interfaces',
'Topic :: Utilities',
],
keywords=[
'terminal',
'color',
'theme',
'palette',
],
install_requires=[
# MIT/ Felix Krull
# https://pypi.org/project/colorhash/
'colorhash>=1.0.2',
# BSD License/ Valentin LAB
# https://pypi.org/project/colour/
'colour>=0.1.5',
# ISCL/ Stefan Kögl
# https://pypi.org/project/kdtree/
'kdtree>=0.16',
# Apache 2.0/ Felix Meyer-Wolters
# https://pypi.org/project/sty/
'sty>=1.0.0b6',
# MIT/ Sam CB
# https://pypi.org/project/emoji2text/
'emoji2text',
# MIT/ Rob Speer ( Luminoso )
# https://pypi.org/project/ftfy/
'ftfy',
# WTFPL/ Micah Elliott
# https://gist.github.com/MicahElliott/719710/
# 'colortrans>=0.1',
# ^^ disabled since source is included with autopalette.
],
)