-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathsetup.py
93 lines (86 loc) · 3.6 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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
from setuptools import setup, find_packages
from adles import __version__, __email__, __author__, __url__, __license__
with open('requirements.txt') as f: # Loads in required packages
required = f.read().splitlines()
with open('README.rst') as f: # Loads in the README for PyPI
long_description = f.read()
setup(
name='ADLES',
version=__version__,
author=__author__,
author_email=__email__,
description='Automated Deployment of Lab Environments System (ADLES)',
long_description=long_description, # This is what you see on PyPI page
url=__url__,
download_url='https://pypi.python.org/pypi/ADLES',
license=__license__,
packages=find_packages(exclude=['test']) + ['specifications', 'examples'],
include_package_data=True,
zip_safe=False,
entry_points={ # These enable commandline usage of ADLES and the scripts
'console_scripts': [
'adles = adles.scripts.adles_main:main',
'clone-vms = adles.scripts.clone_vms:main',
'cleanup-vms = adles.scripts.cleanup_vms:main',
'vm-power = adles.scripts.vm_power:main',
'vsphere-info = adles.scripts.vsphere_info:main',
'vm-snapshots = adles.scripts.vm_snapshots:main'
]
},
install_requires=required,
setup_requires=[
"pytest-runner==2.11.1"
],
tests_require=[
"pytest==3.0.7",
"pytest-cov==2.4.0"
],
test_suite='test',
platforms=['Windows', 'Linux', 'Solaris', 'Mac OS-X', 'Unix'],
keywords="adles virtualization automation vmware vsphere yaml labs virtual "
"vms python pyvmomi cybersecurity education uidaho radicl "
"environments deployment docker lol 1337 setup",
classifiers=[ # Used by PyPI to classify the project and make it searchable
'Development Status :: 4 - Beta',
'Environment :: Console',
'License :: OSI Approved :: Apache Software License',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Operating System :: OS Independent',
'Operating System :: Microsoft :: Windows',
'Operating System :: POSIX',
'Operating System :: Unix',
'Operating System :: MacOS'
'Intended Audience :: Education',
'Intended Audience :: Developers',
'Intended Audience :: System Administrators',
'Intended Audience :: Information Technology',
'Intended Audience :: Science/Research',
'Intended Audience :: End Users/Desktop',
'Topic :: Education',
'Topic :: Education :: Testing',
'Topic :: Security',
'Topic :: System :: Distributed Computing',
'Topic :: System :: Systems Administration',
'Topic :: System :: Installation/Setup',
'Topic :: Utilities'
]
)