forked from argos83/pysphere
-
Notifications
You must be signed in to change notification settings - Fork 6
/
setup.py
66 lines (58 loc) · 2.42 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
#! /usr/bin/env python
import sys
try:
from setuptools import setup
except:
from distutils.core import setup
VERSION = (0, 1, 8)
if __name__ == "__main__":
try:
if sys.argv[1] != "install":
fd = open("pysphere/version.py", "w")
# Do not edit. Auto generated
fd.write("# Do not edit. Auto generated\n")
fd.write("version = (%d, %d, %d)" % VERSION)
fd.close()
except:
pass
fd = open("README", "r")
long_desc = fd.read()
fd.close()
setup(
name="pysphere",
version=".".join(["%d" % v for v in VERSION]),
license="New BSD License",
packages=["pysphere", "pysphere.resources", "pysphere.ZSI",
"pysphere.ZSI.wstools", "pysphere.ZSI.generate"],
package_data={'pysphere.ZSI': ['LBNLCopyright']},
description="Python API for interacting with the vSphere Web Services SDK",
author="Sebastian Tello",
author_email="argos83@gmail.com",
url="http://pysphere.googlecode.com",
download_url="http://pysphere.googlecode.com/files/pysphere-0.1.8.zip",
keywords = ["vSphere", "Virtual", "vmware", "ESX", "ESXi",
"VirtualCenter", "SDK", "API"],
classifiers = [
"Programming Language :: Python",
"Programming Language :: Python :: 2.5",
"Programming Language :: Python :: 2.6",
"Programming Language :: Python :: 2.7",
"Operating System :: OS Independent",
"Development Status :: 5 - Production/Stable",
"Environment :: Other Environment",
"Intended Audience :: Developers",
"Intended Audience :: System Administrators",
"Intended Audience :: Science/Research",
"Intended Audience :: Information Technology",
"License :: OSI Approved :: BSD License",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Software Development :: Quality Assurance",
"Topic :: Software Development :: Testing",
"Topic :: System :: Distributed Computing",
"Topic :: System :: Emulators",
"Topic :: System :: Operating System",
"Topic :: System :: Systems Administration",
"Topic :: Utilities"
],
long_description=long_desc
)