10
0
mirror of https://github.com/LCPQ/quantum_package synced 2024-11-14 10:03:51 +01:00
quantum_package/scripts/utility/qp_path.py

13 lines
214 B
Python
Raw Normal View History

#!/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")