-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
36 lines (31 loc) · 1.23 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
######################################################################
##
## Copyright (C) 2008, Simon Kagstrom
##
## Filename: setup.py
## Author: Simon Kagstrom <[email protected]>
## Description: Installation script (from Dissy)
##
## $Id:$
##
######################################################################
import sys
sys.path.append(".")
from shcov import config
from distutils.core import setup
setup(name='%s' % (config.PROGRAM_NAME).lower(),
version='%s' % (config.PROGRAM_VERSION),
description="A gcov and lcov coverage test tool for bourne shell / bash scripts",
author="Simon Kagstrom",
url="%s" % (config.PROGRAM_URL),
author_email="[email protected]",
packages = ['shcov'],
scripts = ['scripts/shcov', 'scripts/shlcov'],
data_files = [('share/%s/data' % (config.PROGRAM_NAME.lower()),
['data/amber.png', 'data/gcov.css', 'data/ruby.png',
'data/emerald.png', 'data/glass.png', 'data/snow.png', ]),
('share/doc/%s/' % (config.PROGRAM_NAME.lower()), ['README']),
('share/doc/%s/' % (config.PROGRAM_NAME.lower()), ['COPYING']),
('share/man/man1/', ['shcov.1', 'shlcov.1']),
],
)