Changeset 29:10c067be3e8f


Ignore:
Timestamp:
Apr 3, 2011, 4:42:32 PM (9 years ago)
Author:
Stefano Rivera <stefano@…>
Branch:
default
Message:

Patch sys.path

Location:
scripts
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • scripts/level-editor

    r24 r29  
    33
    44import optparse
     5import os.path
     6import sys
     7
     8sys.path.insert(0, os.path.abspath(os.path.join(os.path.dirname(__file__),
     9                                                '..')))
    510
    611import pygame
  • scripts/skaapsteker

    r0 r29  
    11#!/usr/bin/env python
     2
     3import os.path
     4import sys
     5sys.path.insert(0, os.path.abspath(os.path.join(os.path.dirname(__file__),
     6                                                '..')))
    27
    38import skaapsteker.__main__
Note: See TracChangeset for help on using the changeset viewer.