-
Notifications
You must be signed in to change notification settings - Fork 40
/
setup.py
62 lines (58 loc) · 1.96 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
# -*- encoding: utf-8 *-*
import sys
min_python = (3, 4)
if sys.version_info < min_python:
print("BorgWeb requires Python %d.%d or later" % min_python)
sys.exit(1)
from setuptools import setup, find_packages
with open('README.rst', 'r') as fd:
long_description = fd.read()
setup(
name='borgweb',
use_scm_version=dict(write_to='borgweb/_version.py'),
author='The Borg Collective (see AUTHORS file)',
author_email='[email protected]',
url='https://borgweb.readthedocs.io/',
description='Browser-based user interface for BorgBackup',
long_description=long_description,
license='BSD',
platforms=['Linux', 'MacOS X', 'FreeBSD', 'OpenBSD', 'NetBSD', ],
classifiers=[
'Development Status :: 4 - Beta',
'Environment :: Console',
'Intended Audience :: System Administrators',
'License :: OSI Approved :: BSD License',
'Operating System :: POSIX :: BSD :: FreeBSD',
'Operating System :: POSIX :: BSD :: OpenBSD',
'Operating System :: POSIX :: BSD :: NetBSD',
'Operating System :: MacOS :: MacOS X',
'Operating System :: POSIX :: Linux',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Topic :: System :: Archiving :: Backup',
],
packages=find_packages(),
package_data={
'borgweb': [
'static/*.*', # does NOT match subdirectories!
'static/bootstrap/*',
'static/fonts/*',
'static/i18n/*',
'templates/*',
],
},
include_package_data=True,
zip_safe=False,
entry_points={
'console_scripts': [
'borgweb = borgweb.app:main',
]
},
setup_requires=['setuptools_scm>=1.7'],
install_requires=[
'flask>=0.7', # >= 0.10 required for python 3
],
)