forked from pool/python-py2pack
20 lines
638 B
Diff
20 lines
638 B
Diff
From: toddrme2178@gmail.com
|
|
Date: 2016-10-02 14:21:00 +0000
|
|
Subject: Use python2 for subprocess
|
|
|
|
This patch makes sure the correct version of py2pack is called.
|
|
|
|
---
|
|
|
|
--- a/py2pack/requires.py
|
|
+++ b/py2pack/requires.py
|
|
@@ -52,7 +52,7 @@
|
|
else:
|
|
os.chdir(tmp_dir)
|
|
# generate a temporary json file which contains the metadata
|
|
- cmd = "python setup.py -q --command-packages py2pack " \
|
|
+ cmd = "python setup.py -q --command-packages py2pack2 " \
|
|
"get_metadata -o %s " % tempfile_json.name
|
|
try:
|
|
subprocess.check_output(cmd, stderr=subprocess.STDOUT, shell=True)
|