-
Notifications
You must be signed in to change notification settings - Fork 36
/
setup.py
65 lines (57 loc) · 1.81 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 python
"""
setup
~~~~~~~~~~~~~~
pyznap installation using setuptools.
:copyright: (c) 2018-2019 by Yannick Boetzel.
:license: GPLv3, see LICENSE for more details.
"""
import os
import re
from setuptools import setup
DIRNAME = os.path.dirname(os.path.abspath(__file__))
with open(os.path.join(DIRNAME, 'README.md'), 'r') as file:
readme = file.read()
with open(os.path.join(DIRNAME, 'pyznap/__init__.py'), 'r') as file:
version = re.search(r'__version__ = \'(.*?)\'', file.read()).group(1)
setup(
name='pyznap',
version=version,
description='ZFS snapshot tool written in Python',
long_description=readme,
long_description_content_type="text/markdown",
keywords='zfs snapshot backup',
url='https://github.com/yboetz/pyznap',
author='Yannick Boetzel',
author_email='[email protected]',
license='GPLv3',
packages=['pyznap'],
include_package_data=True,
python_requires='>=3.5',
extras_require={
'dev': [
'pytest',
'pytest-dependency',
'pytest-runner',
'paramiko>=2.4.2',
]
},
classifiers=[
'Development Status :: 5 - Production/Stable',
'Environment :: Console',
'Intended Audience :: End Users/Desktop',
'License :: OSI Approved :: GNU General Public License v3 (GPLv3)',
'Operating System :: Unix',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Topic :: System :: Archiving :: Backup',
'Topic :: System :: Filesystems',
],
entry_points = {
'console_scripts': ['pyznap=pyznap.main:main'],
},
zip_safe=False
)