[apycotlib] fix unwanted path replacement
This could be a previous copy-paste mistake. The path can be predefined and
should only be forced to test.project_path() if it is initially at None (else,
dependencies install/config fails).
--- a/_apycotlib/preprocessors/distutils.py Fri Apr 18 18:12:56 2014 +0200
+++ b/_apycotlib/preprocessors/distutils.py Wed Feb 26 18:15:33 2014 +0100
@@ -98,7 +98,6 @@
if path is None:
path = test.project_path()
if not DistutilsProcessor._python_path_set:
- path = test.project_path()
py_lib_dir = join(test.tmpdir, 'local', 'lib', 'python')
# setuptools need this directory to exists
if not exists(py_lib_dir):