-
Notifications
You must be signed in to change notification settings - Fork 3
/
setup.py
executable file
·70 lines (61 loc) · 2.28 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
62
63
64
65
66
67
68
69
70
# -*- coding: utf-8 -*-
"""
Copyright (C) 2012, 2013 Kouhei Maeda <[email protected]>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
"""
import os
import sys
from setuptools import setup, find_packages
sys.path.insert(0, 'src')
import tonicdnscli
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: System Administrators",
"License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)",
"Programming Language :: Python",
"Topic :: Internet",
"Topic :: Internet :: Name Service (DNS)",
"Topic :: System :: Systems Administration",
]
long_description = \
open(os.path.join("docs","README.rst")).read() + \
open(os.path.join("docs","TODO.rst")).read() + \
open(os.path.join("docs","HISTORY.rst")).read()
requires = ['setuptools']
setup(name='tonicdnscli',
version=tonicdnscli.__version__,
description='TonicDNS CLI tool',
long_description=long_description,
author='Kouhei Maeda',
author_email='[email protected]',
url='https://github.com/mkouhei/tonicdnscli',
license=' GNU General Public License version 3',
classifiers=classifiers,
packages=find_packages('src'),
package_dir={'': 'src'},
data_files = [('share/tonicdnscli/examples', ['examples/example.org.txt', 'examples/tdclirc.sample'])],
install_requires=requires,
extras_require=dict(
test=[
'pytest',
'pep8',
'unittest',
'minimock',
],
),
test_suite='tests',
tests_require=['pytest','pep8','minimock'],
entry_points="""
[console_scripts]
tonicdnscli = tonicdnscli.command:main
""",
)