10
0
mirror of https://github.com/LCPQ/quantum_package synced 2024-11-05 05:33:56 +01:00
quantum_package/scripts/utility/qp_path.py

17 lines
374 B
Python
Raw Normal View History

2018-04-30 18:43:13 +02:00
#!/usr/bin/env python2
# -*- coding: utf-8 -*-
import os
2015-06-18 11:11:14 +02:00
import sys
try:
2015-06-18 11:11:14 +02:00
QP_ROOT = os.environ['QP_ROOT']
except:
print "source quantum_package.rc"
sys.exit(1)
else:
2015-06-18 11:11:14 +02:00
QP_SRC = os.path.join(QP_ROOT, "src")
2015-06-23 10:04:59 +02:00
QP_PLUGINS = os.path.join(QP_ROOT, "plugins")
2015-06-18 11:11:14 +02:00
QP_EZFIO = os.path.join(QP_ROOT, "install", "EZFIO")
QP_OCAML = os.path.join(QP_ROOT, "ocaml")