10
0
mirror of https://github.com/LCPQ/quantum_package synced 2024-12-22 20:35:19 +01:00

Add qp_path.py and change module_handler acordingly

This commit is contained in:
Thomas Applencourt 2015-06-18 10:21:37 +02:00
parent dbbe9da571
commit 4eb38cf1e5

View File

@ -0,0 +1,12 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
try:
qp_root = os.environ['QP_ROOT']
except:
print "source quantum_package.rc"
sys.exit(1)
else:
qp_root_src = os.path.join(qp_root, "src")