forked from system-storage-manager/ssm
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
34 lines (31 loc) · 1.14 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
import os
import sys
from distutils.core import setup
from ssmlib import main
VERSION=main.VERSION
DOC_BUILD='doc/_build/'
NAME="system-storage-manager"
if sys.version < '2.6':
print("Python version 2.6 or higher is required " +
"for System Storage Manager to run correctly!")
sys.exit(1)
setup(
name=NAME,
version=VERSION,
author='Lukas Czerner',
author_email='[email protected]',
maintainer='Lukas Czerner',
maintainer_email='[email protected]',
url='http://storagemanager.sf.net',
packages=['ssmlib', 'ssmlib.backends'],
scripts=['bin/ssm'],
description='System Storage Manager - A single tool to manage your storage',
license='GNU General Public License version 2 or any later version',
long_description=open('README').read(),
requires=['argparse', 'itertools', 'tempfile', 'threading', 'subprocess',
'datetime', 're', 'os', 'sys', 'stat'],
platforms=['Linux'],
data_files=[('/usr/share/man/man8', ['doc/_build/man/ssm.8']),
('/usr/share/doc/{0}-{1}'.format(NAME, VERSION),
['README', 'CHANGES', 'COPYING', 'AUTHORS', 'INSTALL'])]
)