-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
42 lines (39 loc) · 1.1 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
from setuptools import setup
import re
name = 'virt_up'
description = 'Create virtual machines quickly with virt-builder.'
def find_version():
text = open('%s/__init__.py' % name).read()
return re.search(r"__version__\s*=\s*'(.*)'", text).group(1)
setup(
name=name,
version=find_version(),
description=description,
long_description=open('README.rst').read(),
author='Michael Meffie',
author_email='[email protected]',
license='BSD',
url='https://github.com/meffie/virt-up',
packages=[name],
setup_requires=['wheel'],
install_requires=[
'Click',
'libvirt-python',
'sh',
],
entry_points={
'console_scripts': [
'virt-up=%s.cli:main' % name,
'vu=%s.cli:main' % name,
],
},
classifiers=[
'Development Status :: 4 - Beta',
'Environment :: Console',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: POSIX',
'Programming Language :: Python :: 3',
'Topic :: Software Development',
],
)