Read about our upcoming Code of Conduct on this issue

Commit ec4b3be5 authored by Matti Picus's avatar Matti Picus
Browse files

load local argparse if system-wide is missing

branch : packaging
parent 18cde0d2f7e9
......@@ -322,7 +322,11 @@ using another platform..."""
return retval, builddir # for tests
def package(*args):
import argparse
import argparse
except ImportError:
import imp
argparse = imp.load_source('argparse', 'lib-python/2.7/')
if sys.platform == 'win32':
pypy_exe = 'pypy.exe'
license_base = os.path.join(basedir, r'..\..\..\local') # as on buildbot YMMV
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment