File: paths.py

package info (click to toggle)
mypaint 2.0.1-14
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 27,884 kB
  • sloc: python: 43,893; cpp: 6,931; xml: 2,475; sh: 473; makefile: 25
file content (7 lines) | stat: -rw-r--r-- 143 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
import os
import sys

TESTS_DIR = os.path.abspath(os.path.dirname(__file__))
TOP_DIR = os.path.dirname(TESTS_DIR)

sys.path.insert(0, TOP_DIR)