Repository navigation
Expand file tree
/
Copy pathsetup.py
More file actions
executable file
·64 lines (54 loc) · 1.91 KB
/
Copy pathsetup.py
File metadata and controls
executable file
·64 lines (54 loc) · 1.91 KB
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
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
import sys
from codecs import open
from os import path
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"]
here = path.abspath(path.dirname(__file__))
with open(path.join(here, "README.md"), encoding="utf-8") as f:
readme = f.read()
with open(path.join(here, "HISTORY.md"), encoding="utf-8") as f:
history = f.read()
setup(
name="python-epo-ops-client",
version=__version__,
description=(
"Python Client for the European Patent Office's " "Open Patent Services API"
),
long_description_content_type="text/markdown",
long_description=u"{}\n{}".format(readme, history),
author="George Song",
author_email="george@monozuku.com",
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,
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.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Topic :: Software Development :: Libraries",
"Topic :: Software Development :: Libraries :: Python Modules",
],
)