-
Notifications
You must be signed in to change notification settings - Fork 16
/
setup.py
60 lines (55 loc) · 2.38 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
#! /usr/bin/env python
import sys
try:
from setuptools import setup
except:
from distutils.core import setup
VERSION = (0, 2, 0)
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.md", "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="VMware vSphere Web Service client in Python",
author="Sebastian Tello <argos83@gmail.com>, Shao-Chung Chen <dannvix@gmail.com>",
url="https://github.com/dannvix/pySphere",
download_url="https://github.com/dannvix/pySphere/archive/v0.2.0.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
)