Debian Codegraph @

setup.py

raw symbols ◀ ▶
Source reconstructed at patch state 0 of 1 — not the installed (fully patched) source.
1 Debian patch touch this file
1 # -*- coding: utf-8 -*-
2 # Copyright © 2015 Carl Chenet <[email protected]>
3 # This program is free software: you can redistribute it and/or modify
4 # it under the terms of the GNU General Public License as published by
5 # the Free Software Foundation, either version 3 of the License, or
6 # any later version.
7 #
8 # This program is distributed in the hope that it will be useful,
9 # but WITHOUT ANY WARRANTY; without even the implied warranty of
10 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 # GNU General Public License for more details.
12 #
13 # You should have received a copy of the GNU General Public License
14 # along with this program. If not, see <http://www.gnu.org/licenses/>
15
16 from distutils.core import setup
17 import os.path
18 import platform
19 import sys
20
21 # Warn the user about the supported Python versions
22 if float(platform.python_version()[0:3]) < 3.4:
23 print('You need at least Python 3.4 to use Brebis')
24 sys.exit(1)
25
26 CLASSIFIERS = [
27 'Intended Audience :: System Administrators',
28 'Development Status :: 3 - Alpha',
29 'Environment :: Console',
30 'License :: OSI Approved :: GNU General Public License (GPL)',
31 'Operating System :: POSIX :: Linux',
32 'Programming Language :: Python :: 3.3'
33 ]
34
35 setup(name = 'brebis',
36 version = '0.10',
37 license = 'GNU GPL v3',
38 description = 'automated backup checker',
39 long_description = 'Brebis is a fully automated backup checker.',
40 classifiers = CLASSIFIERS,
41 author = 'Carl Chenet',
42 author_email = '[email protected]',
43 url = 'http://www.brebisproject.org',
44 download_url = 'http://www.brebisproject.org',
45 packages = ['brebis', 'brebis.checkbackups', 'brebis.generatelist'],
46 data_files=[(os.path.join('share','man','man1'), ['man/brebis.1'])],
47 scripts = ['scripts/brebis']
48 )