-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathsetup.py
60 lines (53 loc) · 1.82 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
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
import sys
from io import open
import os.path as osp
from setuptools import setup, find_packages
HERE = osp.abspath(osp.dirname(__file__))
sys.path.insert(0, HERE)
import cups_notify
def main():
setup(
name="pycups-notify",
version=cups_notify.__version__,
description=cups_notify.__doc__,
long_description=open(osp.join(HERE, 'README.rst'), encoding='utf-8').read(),
long_description_content_type='text/x-rst',
classifiers=[
'Development Status :: 5 - Production/Stable',
'Environment :: Other Environment',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: POSIX :: Linux',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Natural Language :: English',
'Topic :: Printing',
],
author="Antoine Rousseaux",
url="https://github.com/anxuae/pycups-notify",
download_url="https://github.com/anxuae/pycups-notify/archive/{}.tar.gz".format(cups_notify.__version__),
license='MIT license',
platforms=['unix', 'linux', 'darwin', 'win32'],
keywords=[
'printer',
'CUPS',
],
packages=find_packages(),
package_data={
},
include_package_data=True,
install_requires=[
'pycups>=1.9.73'
],
options={
'bdist_wheel':
{'universal': True}
},
zip_safe=False, # Don't install the lib as an .egg zipfile
entry_points={'console_scripts': ["pycups-notify = cups_notify.subscriber:main"]},
)
if __name__ == '__main__':
main()