File: setup.py

package info (click to toggle)
dissy 9-3
  • links: PTS, VCS
  • area: main
  • in suites: squeeze, wheezy
  • size: 340 kB
  • ctags: 320
  • sloc: python: 1,886; xml: 21; makefile: 5; sh: 5
file content (38 lines) | stat: -rw-r--r-- 1,288 bytes parent folder | download | duplicates (2)
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
######################################################################
##
## Copyright (C) 2006,  Blekinge Institute of Technology
##
## Filename:      setup.py
## Author:        Simon Kagstrom <ska@bth.se>
## Description:   Installation script
##
## $Id: setup.py 14502 2007-03-28 04:21:14Z 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',
                      'gfx/icon.svg']),
		    ('share/%s/' % (Config.PROGRAM_NAME.lower()), ['menubar.xml']),
		    ('share/doc/%s/' % (Config.PROGRAM_NAME.lower()), ['README']),
		    ('share/man/man1/', ['dissy.1']),
		    ],
      )