-
Notifications
You must be signed in to change notification settings - Fork 8
/
setup.py
executable file
·65 lines (62 loc) · 2.06 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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
#!/usr/bin/env python3
from setuptools import find_packages, setup
import snapborg
setup(
name="snapborg",
version=snapborg.__version__,
description="Automated backups of snapper snapshots to borg repositories",
long_description=(
"Backup your snapper snapshots with Borg.\nsnapborg is intended"
"for allowing automated backups of snapshots to external hard drives,"
"but it can be used to sync snapshots to a local borg repository as "
"well.\nBased on sftbackup and inspired by borgmatic, snapborg is just "
"a wrapper for Borg. You can use Borg commands directly if you prefer."
),
maintainer="Marinus Enzinger",
maintainer_email="[email protected]",
url="https://github.com/enzingerm/snapborg",
license="GPL3+",
install_requires=[
"pyyaml",
"packaging",
],
packages=find_packages(exclude=["tests*"]),
entry_points={
"console_scripts": [
"snapborg = snapborg.commands.snapborg:main",
],
},
data_files=[
(
"/etc/",
[
"etc/snapborg.yaml",
],
),
(
"/usr/lib/systemd/system/",
[
"usr/lib/systemd/system/snapborg-backup-all.service",
"usr/lib/systemd/system/snapborg-backup-all-daily.timer",
"usr/lib/systemd/system/snapborg-backup-all-hourly.timer",
"usr/lib/systemd/system/[email protected]",
"usr/lib/systemd/system/[email protected]",
"usr/lib/systemd/system/[email protected]",
],
),
],
platforms=[
"Linux",
],
classifiers=[
(
"License :: OSI Approved :: "
"GNU General Public License v3 or later (GPLv3+)"
),
"Environment :: Console",
"Operating System :: POSIX :: Linux",
"Intended Audience :: System Administrators",
"Programming Language :: Python",
"Topic :: System :: Archiving :: Backup",
],
)