2014-03-23 23:53:20 +01:00
|
|
|
from setuptools import setup
|
|
|
|
from setuptools import find_packages
|
|
|
|
import os.path
|
|
|
|
|
|
|
|
|
|
|
|
def find_version(path):
|
2016-06-04 11:35:59 +02:00
|
|
|
import re
|
|
|
|
version_file = open(path).read()
|
|
|
|
version_match = re.search(r"^__version__ = ['\"]([^'\"]*)['\"]", version_file, re.M)
|
|
|
|
if version_match:
|
|
|
|
return version_match.group(1)
|
|
|
|
raise RuntimeError("Unable to find version string.")
|
2014-03-23 23:53:20 +01:00
|
|
|
|
|
|
|
setup(name='bootstrap-vz',
|
|
|
|
version=find_version(os.path.join(os.path.dirname(__file__), 'bootstrapvz/__init__.py')),
|
2015-11-13 18:24:44 +00:00
|
|
|
packages=find_packages(exclude=['docs']),
|
2014-03-23 23:53:20 +01:00
|
|
|
include_package_data=True,
|
2015-04-19 19:24:13 +02:00
|
|
|
entry_points={'console_scripts': ['bootstrap-vz = bootstrapvz.base:main',
|
|
|
|
'bootstrap-vz-remote = bootstrapvz.remote.main:main',
|
|
|
|
'bootstrap-vz-server = bootstrapvz.remote.server:main',
|
|
|
|
]},
|
2014-03-23 23:53:20 +01:00
|
|
|
install_requires=['termcolor >= 1.1.0',
|
|
|
|
'fysom >= 1.0.15',
|
|
|
|
'jsonschema >= 2.3.0',
|
2014-04-08 11:56:27 -05:00
|
|
|
'pyyaml >= 3.10',
|
2014-04-08 21:25:59 +02:00
|
|
|
'boto >= 2.14.0',
|
2017-01-21 20:38:52 +00:00
|
|
|
'boto3 >= 1.4.2',
|
2014-04-08 21:22:34 +02:00
|
|
|
'docopt >= 0.6.1',
|
2015-12-13 15:36:00 +01:00
|
|
|
'pyrfc3339 >= 1.0',
|
2016-03-24 13:48:16 -07:00
|
|
|
'requests >= 2.4.3',
|
2016-04-16 17:44:17 -03:00
|
|
|
'pyro4 >= 4.30',
|
2014-03-23 23:53:20 +01:00
|
|
|
],
|
|
|
|
license='Apache License, Version 2.0',
|
|
|
|
description='Bootstrap Debian images for virtualized environments',
|
|
|
|
long_description='''bootstrap-vz is a bootstrapping framework for Debian.
|
|
|
|
It is is specifically targeted at bootstrapping systems for virtualized environments.
|
|
|
|
bootstrap-vz runs without any user intervention and generates ready-to-boot images for
|
|
|
|
a number of virtualization platforms.
|
2016-04-13 04:38:42 -03:00
|
|
|
Its aim is to provide a reproducible bootstrapping process using manifests
|
2014-03-23 23:53:20 +01:00
|
|
|
as well as supporting a high degree of customizability through plugins.''',
|
|
|
|
author='Anders Ingemann',
|
|
|
|
author_email='anders@ingemann.de',
|
2015-05-03 07:44:13 +02:00
|
|
|
url='http://www.github.com/andsens/bootstrap-vz',
|
2014-03-23 23:53:20 +01:00
|
|
|
)
|