File: setup.py

package info (click to toggle)
dissy 4-1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 228 kB
  • ctags: 283
  • sloc: python: 1,156; xml: 16; makefile: 4
file content (37 lines) | stat: -rw-r--r-- 1,280 bytes parent folder | download
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
######################################################################
##
## Copyright (C) 2006,  Blekinge Institute of Technology
##
## Filename:      setup.py
## Author:        Simon Kagstrom <ska@bth.se>
## Description:   Installation script
##
## $Id: setup.py 12443 2006-11-25 10:14:44Z ska $
##
######################################################################
import sys

sys.path.append(".")
from dissy import Config

from distutils.core import setup

setup(name='%s' % (Config.PROGRAM_NAME).lower(),
      version='%s' % (Config.PROGRAM_VERSION),
      description="A graphical frontend to objdump with navigation possibilities",
      author="Simon Kagstrom",
      url="%s" % (Config.PROGRAM_URL),
      author_email="simon.kagstrom@bth.se",

      packages = ['dissy'],
      scripts = ['scripts/dissy'],

      data_files = [('share/%s/gfx' % (Config.PROGRAM_NAME.lower()),
		     ['gfx/red_arrow_left.png', 'gfx/red_line.png', 'gfx/red_start_down.png',
		      'gfx/red_arrow_right.png', 'gfx/red_plus.png', 'gfx/red_start_up.png']),
		    ('share/%s/' % (Config.PROGRAM_NAME.lower()), ['menubar.xml']),
		    ('share/doc/%s/' % (Config.PROGRAM_NAME.lower()), ['README']),
		    ('share/doc/%s/' % (Config.PROGRAM_NAME.lower()), ['COPYING']),
		    ],
      )