diff options
author | emkael <emkael@tlen.pl> | 2020-10-20 15:21:04 +0200 |
---|---|---|
committer | emkael <emkael@tlen.pl> | 2020-10-20 15:22:53 +0200 |
commit | d833d89ade81fd72efb76fb796cd5073e4e7c221 (patch) | |
tree | a8b1ea9a9b35c7f7666545383948d0af493aa0e5 | |
parent | d170916f04a535d9e72ff453b18bbd351e356b7c (diff) |
Symlinking library from submodule
l--------- | bcdd | 1 | ||||
-rw-r--r-- | deal-converter.py | 3 | ||||
-rw-r--r-- | http/api/api.py | 2 | ||||
-rw-r--r-- | tests.py | 3 |
4 files changed, 1 insertions, 8 deletions
@@ -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 @@ -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 |