-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsetup.py
More file actions
30 lines (24 loc) · 849 Bytes
/
setup.py
File metadata and controls
30 lines (24 loc) · 849 Bytes
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
#!/usr/bin/env python
from setuptools import setup
import os.path as op
CURRENT_DIR = op.dirname(__file__)
version = open(op.join(CURRENT_DIR, 'zfs_backup', 'VERSION.txt')).read().strip()
requirements = open(op.join(CURRENT_DIR, 'requirements.txt')).read()
setup(
name='zfs_backup',
packages=['zfs_backup'],
author='Stupeflix',
author_email='thomas@stupeflix.com',
description='Backup tool using ZFS snapshots',
license='MIT',
keywords='backup zfs snapshot postgres postgresql psql mysql',
url='https://github.com/Stupeflix/zfs_backup',
version=version,
include_package_data=True,
zip_safe=False,
install_requires=[line for line in requirements.splitlines() if line and not line.startswith("--")],
entry_points='''
[console_scripts]
zfs_backup=zfs_backup.cli:main
''',
)