new version tested by using pypi to install!
modified: .gitignore modified: README.md modified: setup.py
This commit is contained in:
parent
f9e940e509
commit
138d2b7632
3 changed files with 58 additions and 22 deletions
44
setup.py
44
setup.py
|
|
@ -1,23 +1,17 @@
|
|||
# installation:
|
||||
# * pip install virt-back
|
||||
# * easy_install virt-back
|
||||
from setuptools import setup
|
||||
import os
|
||||
|
||||
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://git.unturf.com/python/virt-back
|
||||
"""
|
||||
# Read the contents of your README file
|
||||
with open(os.path.join(os.path.dirname(__file__), "README.md"), encoding="utf-8") as f:
|
||||
long_description = f.read()
|
||||
|
||||
setup(
|
||||
name="virt-back",
|
||||
version="0.2.1",
|
||||
version="0.2.2",
|
||||
description="virt-back: A backup utility for QEMU, KVM, XEN, and Virtualbox guests",
|
||||
keywords="backup virtual hypervisor QEMU KVM XEN Virtualbox",
|
||||
long_description=DESCRIPTION,
|
||||
long_description=long_description,
|
||||
long_description_content_type="text/markdown",
|
||||
author="Russell Ballestrini",
|
||||
author_email="russell@ballestrini.net",
|
||||
url="https://git.unturf.com/python/virt-back",
|
||||
|
|
@ -26,20 +20,28 @@ setup(
|
|||
py_modules=["virtback"],
|
||||
include_package_data=True,
|
||||
scripts=["virt-back"],
|
||||
install_requires=[
|
||||
"libvirt-python",
|
||||
],
|
||||
)
|
||||
|
||||
"""
|
||||
setup()
|
||||
keyword args: http://peak.telecommunity.com/DevCenter/setuptools
|
||||
|
||||
configure pypi username and password in ~/.pypirc::
|
||||
# built and uploaded to pypi with this:
|
||||
|
||||
[pypi]
|
||||
username:
|
||||
password:
|
||||
python setup.py sdist
|
||||
twine upload dist/*
|
||||
|
||||
|
||||
build and upload to pypi with this::
|
||||
|
||||
python setup.py sdist bdist_egg register upload
|
||||
"""
|
||||
|
||||
# Installation Instructions:
|
||||
# To install virt-back, you can use pip:
|
||||
# * pip install virt-back
|
||||
#
|
||||
# Note: You need to have the libvirt development libraries installed.
|
||||
# On Fedora/RedHat, you can install it with:
|
||||
# * sudo dnf install libvirt-devel
|
||||
# On Ubuntu, you can install it with:
|
||||
# * sudo apt-get install libvirt-dev
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue