aboutsummaryrefslogtreecommitdiffstats
path: root/src/setup.py
diff options
context:
space:
mode:
authorastokes <astokes@ef72aa8b-4018-0410-8976-d6e080ef94d8>2010-02-17 16:27:19 +0000
committerastokes <astokes@ef72aa8b-4018-0410-8976-d6e080ef94d8>2010-02-17 16:27:19 +0000
commit494f1de1db6c29a3f5f6d0e5cabc29b86eaf99e8 (patch)
tree4b825dc642cb6eb9a060e54bf8d69288fbee4904 /src/setup.py
parent006e26f2a226bd4f934dcd98c598cc5830c0b285 (diff)
downloadsos-494f1de1db6c29a3f5f6d0e5cabc29b86eaf99e8.tar.gz
-blah
git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@777 ef72aa8b-4018-0410-8976-d6e080ef94d8
Diffstat (limited to 'src/setup.py')
-rw-r--r--src/setup.py37
1 files changed, 0 insertions, 37 deletions
diff --git a/src/setup.py b/src/setup.py
deleted file mode 100644
index 4fbd14df..00000000
--- a/src/setup.py
+++ /dev/null
@@ -1,37 +0,0 @@
-"""
-setup.py - Setup package with the help from Python's DistUtils
-"""
-
-from distutils.core import setup
-import glob
-
-
-data_files = [ ('/etc', [ 'sos.conf']),
- ('/usr/sbin', ['sosreport', 'extras/sysreport/sysreport.legacy']),
- ('/usr/bin', ['extras/rh-upload']),
- ('/usr/share/sos/',['gpgkeys/rhsupport.pub']),
- ('/usr/share/sysreport', ['extras/sysreport/text.xsl', 'extras/sysreport/functions', 'extras/sysreport/sysreport-fdisk']),
- ('/usr/share/man/man1', ['sosreport.1.gz']),
- ]
-
-test_dir = '/usr/share/sos/tests'
-test_files = glob.glob('tests/*')
-data_files.append((test_dir,[file for file in test_files]))
-
-lang_files = glob.glob('po/*/sos.mo')
-for i18n in lang_files:
- topdir, basedir, fname = i18n.split('/')
- data_files.append(('/usr/share/locale/%s/LC_MESSAGES' % (basedir,) ,[i18n]))
-
-setup(
- name = 'sos',
- version = '1.8',
- author = 'Adam Stokes',
- author_email = 'ajs@redhat.com',
- url = 'http://fedorahosted.org/sos',
- description = 'SOS - son of sysreport',
- packages = ['sos', 'sos.plugins'],
- scripts = [],
- package_dir = {'': 'lib',},
- data_files = data_files,
-)