mirror of
https://github.com/LCPQ/quantum_package
synced 2024-08-25 05:51:46 +02:00
Add qp_path.py and change module_handler acordingly
This commit is contained in:
parent
dbbe9da571
commit
4eb38cf1e5
12
scripts/utility/qp_path.py
Normal file
12
scripts/utility/qp_path.py
Normal 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")
|
Loading…
Reference in New Issue
Block a user