File: gnome-specimen.in

package info (click to toggle)
gnome-specimen 0.4-3
  • links: PTS, VCS
  • area: main
  • in suites: lenny
  • size: 1,024 kB
  • ctags: 85
  • sloc: sh: 3,510; python: 569; makefile: 133
file content (30 lines) | stat: -rw-r--r-- 1,164 bytes parent folder | download | duplicates (3)
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
#!@PYTHON@

# GNOME Specimen, a font preview application for GNOME
# Copyright (C) 2006--2007  Wouter Bolsterlee <wbolster@gnome.org>
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
# 
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
# 
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.


import sys

if not "@pyexecdir@" in sys.path:
    # Append the directory to the end of sys.path, because inserting at the
    # front (which seems to be common) breaks running modified versions from
    # the source directory.
    sys.path.append ("@pyexecdir@")

import specimen.main
specimen.main.main(sys.argv[1:])