-
Notifications
You must be signed in to change notification settings - Fork 31
/
setup.py
49 lines (44 loc) · 1.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
#!/usr/bin/env python3
from distutils.core import setup
with open('proxmove') as fp:
for line in fp:
if line.startswith('__version__'):
version = line.split("'")[1]
break
long_description = []
for filename in ('README.rst', 'CHANGES.rst', 'TODO.rst'):
with open(filename) as fp:
long_description.append(fp.read())
long_description = '\n\n'.join(long_description)
setup(
name='proxmove',
version=version,
scripts=['proxmove'],
data_files=[
('share/doc/proxmove', [
'README.rst', 'CHANGES.rst', 'TODO.rst']),
('share/proxmove', [
'proxmoverc.sample'])],
description=(
'Migrate virtual machines between different Proxmox VM clusters'),
long_description=long_description,
author='Walter Doekes, OSSO B.V.',
author_email='[email protected]',
url='https://github.com/ossobv/proxmove',
license='GPLv3+',
platforms=['linux'],
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: System Administrators',
('License :: OSI Approved :: GNU General Public License v3 '
'or later (GPLv3+)'),
'Operating System :: POSIX :: Linux',
'Programming Language :: Python :: 3',
'Topic :: System :: Clustering',
],
install_requires=[
'proxmoxer>=0.2.4',
'requests>=2.9.1',
],
)
# vim: set ts=8 sw=4 sts=4 et ai tw=79: