-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathsetup.py
44 lines (39 loc) · 1.08 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
import sys
from setuptools import setup
from codecs import open
from os import system
# For convenience.
if sys.argv[-1] == "publish":
system("python setup.py sdist upload")
sys.exit()
def read(filename):
kwds = {"encoding": "utf-8"} if sys.version_info[0] >= 3 else {}
with open(filename, **kwds) as fp:
contents = fp.read()
return contents
# Get the version information.
from domain import __version__
setup(
name="domain",
version=__version__,
author="Andrew R. Casey",
author_email="andycasey@gmail.com",
description="Python client for the Domain property API",
license="MIT",
classifiers=[
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3.6",
],
keywords="domain property api client",
packages=["domain", "domain.authorisation"],
install_requires=["requests", "pyyaml"],
extras_require={
"test": ["coverage"]
},
package_data={
"": ["LICENSE"],
},
include_package_data=True,
data_files=None
)