forked from gcovr/gcovr
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
54 lines (47 loc) · 1.75 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
# _________________________________________________________________________
#
# Gcovr: A parsing and reporting tool for gcov
# Copyright (c) 2013 Sandia Corporation.
# This software is distributed under the BSD License.
# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation,
# the U.S. Government retains certain rights in this software.
# For more information, see the README.md file.
# _________________________________________________________________________
"""
Script to generate the installer for gcovr.
"""
import glob
import os
def read(*rnames):
return open(os.path.join(os.path.dirname(__file__), *rnames)).read()
from setuptools import setup
import os.path
if os.path.exists('README.md'):
import shutil
shutil.copyfile('README.md', 'README.txt')
scripts = glob.glob("scripts/*")
setup(name='gcovr',
version='3.3-prerelease',
maintainer='William Hart',
maintainer_email='wehart@sandia.gov',
url = 'http://gcovr.com',
license = 'BSD',
platforms = ["any"],
description = 'A Python script for summarizing gcov data.',
long_description = read('README.txt'),
classifiers = [
'Development Status :: 4 - Beta',
'Intended Audience :: End Users/Desktop',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: BSD License',
'Natural Language :: English',
'Operating System :: Microsoft :: Windows',
'Operating System :: Unix',
'Programming Language :: Python',
'Programming Language :: Unix Shell',
'Topic :: Software Development :: Libraries :: Python Modules'
],
packages=['gcovr'],
keywords=['utility'],
scripts=scripts
)