-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
44 lines (37 loc) · 1.25 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
#!/usr/bin/env python3
import os
from codecs import open
from sys import version_info
from setuptools import find_packages, setup
here = os.path.abspath(os.path.dirname(__file__))
assert version_info >= (3, 6, 1), 'Pythonic CUPS requires Python >=3.0.0'
INSTALL_DEPS = [
'',
]
about = {}
with open(os.path.join(here, 'src', 'pcups', '__version__.py'), 'r', 'utf-8') as f:
exec(f.read(), about)
setup(
name=about['__title__'],
version=about['__version__'],
description=about['__description__'],
long_description='\n\n'.join([open('README.md').read(), open('CHANGES.md').read()]),
long_description_content_type='text/markdown',
author=about['__author__'],
author_email=about['__author_email__'],
license=about['__license__'],
url=about['__url__'],
packages=find_packages('src'),
keywords=['pcups', 'cups', 'pycups', ],
package_dir={'': 'src'},
include_package_data=True,
package_data={'': ['LICENSE']},
install_requires=INSTALL_DEPS,
zip_safe=False,
classifiers=[
"Intended Audience :: Developers",
"Topic :: Software Development :: Libraries :: Python Modules",
'Programming Language :: Python :: 3 :: Only',
'Programming Language :: Python :: 3',
],
)