-
Notifications
You must be signed in to change notification settings - Fork 29
/
setup.py
72 lines (66 loc) · 1.94 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
"""wal - setup.py"""
import sys
import setuptools
try:
import pywal
except ImportError:
print("error: pywal requires Python 3.5 or greater.")
sys.exit(1)
is_win = sys.platform.startswith("win")
LONG_DESC = open("README.md").read()
VERSION = pywal.__version__
DOWNLOAD = "https://github.com/eylles/pywal16/archive/%s.tar.gz" % VERSION
install_requires = []
if is_win:
install_requires += ["colorama"]
setuptools.setup(
name="pywal16",
version=VERSION,
author="Dylan Araps",
author_email="[email protected]",
description="Generate and change color-schemes on the fly",
long_description_content_type="text/markdown",
long_description=LONG_DESC,
keywords="wal colorscheme terminal-emulators changing-colorschemes",
license="MIT",
url="https://github.com/eylles/pywal16",
download_url=DOWNLOAD,
classifiers=[
"Environment :: X11 Applications",
"License :: OSI Approved :: MIT License",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
],
data_files=[('man/man1', ['data/man/man1/wal.1'])],
packages=["pywal"],
entry_points={"console_scripts": ["wal=pywal.__main__:main"]},
python_requires=">=3.5",
install_requires=install_requires,
extras_require={
"colorthief": [
"colorthief",
], # known to work with 0.2.1
"colorz": [
"colorz",
], # NOTE heavy, scipy dependency
"fast-colorthief": [
"fast-colorthief",
],
"haishoku": [
"haishoku",
],
"modern_colorthief": [
"modern_colorthief",
],
"all": [
"colorthief",
"colorz",
"fast-colorthief",
"haishoku",
"modern_colorthief",
], # convience, all of the above
},
include_package_data=True,
zip_safe=False,
)