mirror of
https://github.com/QuantumPackage/qp2.git
synced 2024-12-23 03:53:29 +01:00
20 lines
460 B
Python
20 lines
460 B
Python
#!/usr/bin/env python3
|
|
# -*- coding: utf-8 -*-
|
|
|
|
|
|
import os
|
|
import sys
|
|
|
|
try:
|
|
QP_ROOT = os.environ['QP_ROOT']
|
|
except:
|
|
print("source quantum_package.rc")
|
|
sys.exit(1)
|
|
else:
|
|
QP_EZFIO = os.environ["QP_EZFIO"]
|
|
QP_SRC = os.path.join(QP_ROOT, "src")
|
|
QP_PLUGINS = os.path.join(QP_ROOT, "plugins")
|
|
QP_OCAML = os.path.join(QP_ROOT, "ocaml")
|
|
QP_TESTS = os.path.join(QP_ROOT, "tests")
|
|
QP_DATA = os.path.join(QP_ROOT, "data")
|