File: fromsrc.py

package info (click to toggle)
doxyqml 0.3.0-1.2
  • links: PTS
  • area: main
  • in suites: forky, sid, trixie
  • size: 216 kB
  • sloc: python: 780; cpp: 54; makefile: 6
file content (12 lines) | stat: -rw-r--r-- 239 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
# -*- coding: utf-8 -*-

"""
Add parent dir to sys.path so that one can use Doxyqml from an uninstalled
source tree.
"""

import os
import sys

parentPath = os.path.join(os.path.dirname(__file__), os.pardir)
sys.path.insert(0, parentPath)