refactor(bin/python_lib): move six.py under bin/python_lib
Following @favonia's suggestion in #393
This commit is contained in:
parent
82c551d8dc
commit
69af6df69d
4 changed files with 5 additions and 4 deletions
3
bin/.gitignore
vendored
3
bin/.gitignore
vendored
|
@ -1,3 +1,4 @@
|
||||||
lean
|
lean
|
||||||
lean.exe
|
lean.exe
|
||||||
six.pyc
|
python_lib/six.pyc
|
||||||
|
python_lib/__init__.pyc
|
||||||
|
|
|
@ -9,8 +9,8 @@
|
||||||
|
|
||||||
# Python 2/3 compatibility
|
# Python 2/3 compatibility
|
||||||
from __future__ import print_function
|
from __future__ import print_function
|
||||||
import six
|
import python_lib.six as six
|
||||||
from six.moves import filter, map
|
from python_lib.six.moves import filter, map
|
||||||
|
|
||||||
import argparse
|
import argparse
|
||||||
import fnmatch
|
import fnmatch
|
||||||
|
@ -25,7 +25,7 @@ import subprocess
|
||||||
import sys
|
import sys
|
||||||
import tempfile
|
import tempfile
|
||||||
import threading
|
import threading
|
||||||
from six.moves import urllib
|
from python_lib.six.moves import urllib
|
||||||
|
|
||||||
# Enforce subprocesses to use 'utf-8' in Python 2
|
# Enforce subprocesses to use 'utf-8' in Python 2
|
||||||
if six.PY2:
|
if six.PY2:
|
||||||
|
|
0
bin/python_lib/__init__.py
Normal file
0
bin/python_lib/__init__.py
Normal file
Loading…
Add table
Reference in a new issue