forked from bradleyayers/cloudprinting
-
Notifications
You must be signed in to change notification settings - Fork 4
/
setup.py
31 lines (27 loc) · 1.01 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
#!/usr/bin/env python
from os.path import join
import re
from setuptools import setup
# dynamically pull the version from cloudprinting/__init__.py
with open(join('googleprint', '__init__.py'), 'r') as f:
version = re.search('^__version__ = "(.+?)"$', f.read(), re.MULTILINE).group(1)
setup(
name='googleprint',
version=version,
description='Simple API for Google Cloud Print',
author='Jayden Smith',
author_email='[email protected]',
url='https://github.com/jaydensmith/googleprint',
download_url='https://github.com/jaydensmith/googleprint/tarball/' + version,
packages=['googleprint'],
include_package_data=True, # declarations in MANIFEST.in
install_requires=['requests', 'requests-oauthlib'],
classifiers=[
'Environment :: Web Environment',
'Intended Audience :: Developers',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Topic :: Internet',
'Topic :: Software Development :: Libraries',
],
)