forked from ip-tools/python-epo-ops-client
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
executable file
·61 lines (53 loc) · 1.75 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
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
import sys
from setuptools import setup
from __version__ import __version__
if sys.argv[-1] == 'publish':
os.system('python setup.py sdist upload')
sys.exit()
packages = [
'epo_ops',
]
requires = ['python-dateutil', 'requests', 'six']
readme = open('README.rst').read()
history = open('HISTORY.rst').read()
license = open('LICENSE').read()
setup(
name='python-epo-ops-client',
version=__version__,
description=(
"Python Client for the European Patent Office's "
"Open Patent Services API"
),
long_description=readme + '\n\n' + history,
author='George Song',
author_email='[email protected]',
url='https://github.com/55minutes/python-epo-ops-client',
download_url=(
'https://github.com/55minutes/python-epo-ops-client/archive/'
'v%s.tar.gz' % __version__
),
packages=packages,
package_dir={'epo_ops': 'epo_ops'},
include_package_data=True,
install_requires=requires,
license=license,
tests_require=['pytest', 'pytest-cache', 'pytest-cov'],
zip_safe=False,
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'Natural Language :: English',
'License :: OSI Approved :: Apache Software License',
'Programming Language :: Python',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: Implementation :: PyPy',
'Topic :: Software Development :: Libraries',
'Topic :: Software Development :: Libraries :: Python Modules',
],
)