mirror of
https://github.com/CoolProp/CoolProp.git
synced 2026-02-07 20:35:03 -05:00
More path confusion with shutil
This commit is contained in:
@@ -176,8 +176,8 @@ def run_command(cmd):
|
||||
stderr=subprocess.PIPE,
|
||||
stdin=subprocess.PIPE).communicate()
|
||||
#subprocess.check_call('conda build .', shell = True, stdout = sys.stdout, stderr = sys.stderr)
|
||||
filename = os.path.abspath(run_command('conda build --output .')[0]).strip()
|
||||
tar = os.path.abspath(os.path.join(os.path.dirname(__file__),'conda','Python_conda'))
|
||||
filename = str(os.path.abspath(run_command('conda build --output .')[0])).strip()
|
||||
tar = str(os.path.abspath(os.path.join(os.path.dirname(__file__),'conda','Python_conda'))).strip()
|
||||
try:
|
||||
os.makedirs(tar)
|
||||
except Exception as e:
|
||||
|
||||
Reference in New Issue
Block a user