forked from ponty/pyscreenshot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
67 lines (59 loc) · 1.88 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
import os.path
from setuptools import setup
if os.environ.get("distutils_issue8876_workaround_enabled", False):
# sdist_hack: Remove reference to os.link to disable using hardlinks when
# building setup.py's sdist target. This is done because
# VirtualBox VMs shared filesystems don't support hardlinks.
del os.link
NAME = "pyscreenshot"
URL = "https://github.com/ponty/pyscreenshot"
DESCRIPTION = "python screenshot"
PACKAGES = [
NAME,
NAME + ".plugins",
NAME + ".check",
NAME + ".cli",
NAME + ".examples",
]
# get __version__
__version__ = None
exec(open(os.path.join(NAME, "about.py")).read())
VERSION = __version__
# extra = {}
# if sys.version_info >= (3,):
# extra['use_2to3'] = True
# extra['use_2to3_exclude_fixers'] = ['lib2to3.fixes.fix_import']
classifiers = [
# Get more strings from
# http://www.python.org/pypi?%3Aaction=list_classifiers
"License :: OSI Approved :: BSD License",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
]
install_requires = ["EasyProcess", "entrypoint2"]
setup(
name=NAME,
version=VERSION,
description=DESCRIPTION,
long_description=open("README.rst", "r").read(),
python_requires=">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*",
classifiers=classifiers,
keywords="screenshot",
author="ponty",
# author_email='',
url=URL,
license="BSD",
packages=PACKAGES,
# include_package_data=True,
# test_suite='nose.collector',
# zip_safe=False,
install_requires=install_requires,
# **extra
)