~freshapplepy/mct/main

« back to all changes in this revision

Viewing changes to bin/metacity-themer

  • Committer: Isaiah Heyer
  • Date: 2009-03-13 02:48:07 UTC
  • Revision ID: freshapplepy@gmail.com-20090313024807-0yhpdj4e61s6ib34
Reordered file structure, added setup.py.Added icon set and n    ew about dialog.Enabled constant removal.

Show diffs side-by-side

added added

removed removed

Lines of Context:
5
5
import os
6
6
from os.path import dirname, join, pardir
7
7
 
8
 
sys.path.insert(0, join(dirname(__file__), pardir,'share',
9
 
            'metacity-themer','lib'))
 
8
 
 
9
## if running locally
 
10
sys.path.insert(0, join(dirname(__file__), pardir))
 
11
 
 
12
# if installed
 
13
x,y = sys.version_info[0:2]
 
14
x = str(x)
 
15
y = str(y)
 
16
 
 
17
sys.path.insert(1, join(dirname(__file__), pardir,'lib',
 
18
                'python'+x+'.'+y,'site-packages'))
10
19
 
11
20
from metacity_themer import main, utils, PID
12
21