forked from eXamadeus/godaddypy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
46 lines (40 loc) · 1.63 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
#!/usr/bin/env python
import re
from setuptools import setup
with open('godaddypy/__init__.py', 'r') as f:
version_match = re.search(r'^__version__\s*=\s*[\']([^\']*)[\']',
f.read(), re.MULTILINE)
if version_match is None:
raise RuntimeError('No version information found in godaddypy/__init__.py')
else:
version = version_match.group(1)
with open('README.rst') as file:
long_description = file.read()
setup(name='GoDaddyPy',
version=version,
description='A very simple python client used to update the IP address in A records for GoDaddy managed domains.',
long_description=long_description,
author='Julian Coy',
author_email='[email protected]',
url='https://github.com/eXamadeus/godaddypy',
packages=['godaddypy'],
install_requires=[
'requests>=2.4'
],
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'Intended Audience :: System Administrators',
'Topic :: Internet :: Name Service (DNS)',
'License :: OSI Approved :: BSD License',
'Natural Language :: English',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.2',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
])