rbackup/setup.py
2019-04-19 09:46:13 -07:00

32 lines
924 B
Python

import setuptools
from sphinx.setup_command import BuildDoc
# ========== Constants ==========
PACKAGES = ["rbackup", "rbackup.plugins", "rbackup.struct"]
SCRIPTS = ["bin/backup"]
CMDCLASS = {'build_sphinx': BuildDoc}
# ========== Functions ==========
with open("README.rst", "r") as fh:
long_description = fh.read()
# ========== Package Setup ==========
setuptools.setup(
name="rbackup",
version="0.5.2",
cmdclass=CMDCLASS,
author="Eric Torres",
author_email="erictorres4@protonmail.com",
description="An rsync-based tool for creating backups",
long_description=long_description,
long_description_content_type="text/plain",
url="https://github.com/etorres4/rbackup",
packages=PACKAGES,
scripts=SCRIPTS,
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
)