forked from deviantfero/wpgtk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
54 lines (48 loc) · 1.59 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
"""wpgtk - setup.py"""
import os
import setuptools
import sys
if sys.version_info.major < 3 or sys.version_info.minor < 5:
print("error: wpgtk requires Python 3.5 or greater.", file=sys.stderr)
quit(1)
import wpgtk
try:
LONG_DESC = open('README.md').read()
except:
LONG_DESC = '-'
pass
VERSION = wpgtk.__version__
DOWNLOAD = "https://github.com/deviantfero/wpgtk/archive/%s.tar.gz" % VERSION
WALL_DIR = os.path.expanduser('~') + '/.wallpapers'
setuptools.setup(
name="wpgtk",
packages=setuptools.find_packages(),
version=VERSION,
author="Fernando Vásquez",
author_email="[email protected]",
description="GTK+ theme/wallpaper manager which uses pywal as it's core",
long_description=LONG_DESC,
license="GPL2",
url="https://github.com/deviantfero/wpgtk",
download_url=DOWNLOAD,
classifiers=[
"Environment :: X11 Applications",
"License :: OSI Approved :: GNU General Public License v2 (GPLv2)",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.5",
],
entry_points={
"console_scripts": ["wpg=wpgtk.__main__:main"]
},
python_requires=">=3.5",
install_requires=[
'Pillow>=4.2.1',
'pywal>=2.0.0',
],
include_package_data=True,
data_files=[('etc/wpgtk', ['wpgtk/misc/wpg.conf']),
('bin/', ['wpgtk/misc/wpg-install.sh']),
('share/bash-completion/completions/', ['completions/bash/wpg']),
('share/zsh/site-functions/', ['completions/zsh/_wpg'])]
)