forked from datacenter/wiper
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
58 lines (52 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
47
48
49
50
51
52
53
54
55
56
57
58
"""wiper setup.py."""
import os
from setuptools import setup, find_packages
with open('LICENSE.txt') as f:
LICENSE = f.read()
__version__ = '1.0.0'
VERSION = open(os.path.join('wiper', 'version.py')).read()
print VERSION
# pylint:disable=exec-used
exec(VERSION)
PKGNAME = 'wiper'
URL = 'https://github.com/datacenter/' + PKGNAME
DOWNLOADURL = URL + '/releases/tag/' + str(__version__)
setup(
name=PKGNAME,
version=__version__,
description=('Wipe the APIC config and reprovision APICs.'),
long_description=open('README.rst').read(),
packages=find_packages(),
url='https://github.com/datacenter/wiper',
download_url=DOWNLOADURL,
license=LICENSE,
author='Mike Timm',
author_email='[email protected]',
zip_safe=False,
install_requires=[
'paramiko',
'transitions',
'paramiko-expect',
# 'git+https://github.com/fgimian/paramiko-expect.git',
# 'git+https://github.com/tyarkoni/transitions.git'
],
dependency_links=[
'http://github.com/fgimian/paramiko-expect/tarball/master#egg=paramiko-expect',
'https://github.com/paramiko/paramiko/tarball/master#egg=paramiko'
],
classifiers=(
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'Natural Language :: English',
'License :: OSI Approved :: Apache Software License',
'Programming Language :: Python',
'Programming Language :: Python :: 2.7',
),
scripts=[os.path.join('wiper', 'wiper.py')],
entry_points={
"console_scripts": [
"apic_wiper=wiper:main",
"wiper=wiper:main",
],
}
)