initial commit from tarball, likely doesn't work at all...

new file:   .gitignore
	new file:   setup.cfg
	new file:   setup.py
	new file:   virt-back
	new file:   virt_back.egg-info/PKG-INFO
	new file:   virt_back.egg-info/SOURCES.txt
	new file:   virt_back.egg-info/dependency_links.txt
	new file:   virt_back.egg-info/top_level.txt
	new file:   virtback.py
This commit is contained in:
Russell Ballestrini 2024-07-07 16:23:53 -04:00
commit 338c565c35
9 changed files with 466 additions and 0 deletions

49
setup.py Normal file
View file

@ -0,0 +1,49 @@
# installation:
# * pip install virt-back
# * easy_install virt-back
from setuptools import setup
DESCRIPTION = """A backup utility for QEMU, KVM, XEN, and Virtualbox guests.
Virt-back is a python application that uses the libvirt api to safely
shutdown, gzip, and restart guests. The backup process logs to syslog
for auditing and virt-back works great with cron for scheduling outages.
Virt-back has been placed in the public domain and
the latest version may be downloaded here:
https://bitbucket.org/russellballestrini/virt-back
"""
setup(
name = 'virt-back',
version = '0.1.0',
description = 'virt-back: A backup utility for QEMU, KVM, XEN, and Virtualbox guests',
keywords = 'backup virtual hypervisor QEMU KVM XEN Virtualbox',
long_description = DESCRIPTION,
author = 'Russell Ballestrini',
author_email = 'russell@ballestrini.net',
url = 'https://bitbucket.org/russellballestrini/virt-back',
platforms = ['All'],
license = 'Public Domain',
py_modules = ['virtback'],
include_package_data = True,
scripts=['virt-back'],
)
"""
setup()
keyword args: http://peak.telecommunity.com/DevCenter/setuptools
configure pypi username and password in ~/.pypirc::
[pypi]
username:
password:
build and upload to pypi with this::
python setup.py sdist bdist_egg register upload
"""