-
Notifications
You must be signed in to change notification settings - Fork 16
/
setup.py
51 lines (47 loc) · 1.69 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
import os
import re
from setuptools import setup
BASE_DIR = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(BASE_DIR, 'README.rst'), 'rt') as fd:
long_description = fd.read()
with open(os.path.join(BASE_DIR, 'vix', '__init__.py'), 'rt') as fd:
version = re.search(r'__version__\W*=\W*(\'|")(.+?)(\'|")', fd.read()).group(2)
setup(
name='vix',
version=version,
description='VMware VIX binding for Python (unofficial)',
long_description=long_description,
author='Naim A.',
author_email='[email protected]',
url='https://github.com/naim94a/vix',
packages=['vix'],
package_dir={
'vix': 'vix',
},
license='GPLv3',
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'Intended Audience :: Information Technology',
'Intended Audience :: System Administrators',
'License :: OSI Approved :: GNU General Public License v3 (GPLv3)',
'Natural Language :: English',
'Operating System :: Microsoft :: Windows',
'Operating System :: POSIX :: Linux',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: Implementation :: CPython',
'Programming Language :: Python :: Implementation :: PyPy',
'Topic :: System :: Systems Administration',
],
install_requires=[
'cffi>=1.15',
'six',
],
keywords='vmware python api vix',
project_urls={
'Documentation': 'https://naim94a.github.io/vix',
'Source': 'https://github.com/naim94a/vix',
'Bugs & Features': 'https://github.com/naim94a/vix/issues'
}
)