forked from vmware-archive/pynsxv
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
36 lines (33 loc) · 1.21 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
from setuptools import setup, find_packages
import io
def read(*filenames, **kwargs):
encoding = kwargs.get('encoding', 'utf-8')
sep = kwargs.get('sep', '\n')
buf = []
for filename in filenames:
with io.open(filename, encoding=encoding) as f:
buf.append(f.read())
return sep.join(buf)
long_description = read('README.rst')
setup(
name='PyNSXv',
version='0.4.1',
packages=find_packages(),
package_data={'pynsxv':['nsx.ini', 'library/api_spec/nsxvapi.raml', 'library/api_spec/schemas/*']},
url='http://github.com/vmware/pynsxv',
license='MIT',
author='Dimitri Desmidt, Emanuele Mazza, Yves Fauser',
author_email='yfauser@vmware.com',
description='PyNSXv is a higher level python based library and CLI tool to control NSX for vSphere',
long_description=long_description,
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: End Users/Desktop',
'Topic :: Utilities',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 2.7'],
install_requires=['nsxramlclient>=2.0.1', 'pyvmomi', 'tabulate'],
entry_points={
'console_scripts': ['pynsxv = pynsxv.cli:main']
}
)