summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
l---------bcdd1
-rw-r--r--deal-converter.py3
-rw-r--r--http/api/api.py2
-rw-r--r--tests.py3
4 files changed, 1 insertions, 8 deletions
diff --git a/bcdd b/bcdd
new file mode 120000
index 0000000..51dcf57
--- /dev/null
+++ b/bcdd
@@ -0,0 +1 @@
+pybcdd/bcdd \ No newline at end of file
diff --git a/deal-converter.py b/deal-converter.py
index 352e7e0..de0d01a 100644
--- a/deal-converter.py
+++ b/deal-converter.py
@@ -1,9 +1,6 @@
from __future__ import print_function
import argparse, os, sys, warnings
-pybcddpath = os.path.realpath(os.path.join(os.path.dirname(__file__), 'pybcdd'))
-sys.path.append(pybcddpath)
-
from dealconvert import DealConverter
parser = argparse.ArgumentParser(
diff --git a/http/api/api.py b/http/api/api.py
index d5bb239..f5d48a5 100644
--- a/http/api/api.py
+++ b/http/api/api.py
@@ -8,8 +8,6 @@ from mod_python import apache, Session
OLDPATH = copy.copy(sys.path)
sys.path.append(
os.path.abspath(os.path.join(os.path.dirname(__file__), '../..')))
-sys.path.append(
- os.path.abspath(os.path.join(os.path.dirname(__file__), '../../pybcdd')))
from dealconvert import DealConverter
sys.path = OLDPATH
diff --git a/tests.py b/tests.py
index 3f7e4c5..ac9f260 100644
--- a/tests.py
+++ b/tests.py
@@ -1,8 +1,5 @@
import filecmp, itertools, os, sys, tempfile
-pybcddpath = os.path.realpath(os.path.join(os.path.dirname(__file__), 'pybcdd'))
-sys.path.append(pybcddpath)
-
from dealconvert import DealConverter
import pytest