Add hidden import for newer version of setuptools

This commit is contained in:
DarkPhoenix
2020-04-07 17:39:24 +03:00
parent c0e1d9e4de
commit 6eae3405fd
2 changed files with 2 additions and 4 deletions

View File

@@ -51,7 +51,8 @@ if os_name == 'Darwin':
import_these = [
'numpy.core._dtype_ctypes', # https://github.com/pyinstaller/pyinstaller/issues/3982
'sqlalchemy.ext.baked' # windows build doesn't launch without if when using sqlalchemy 1.3.x
'sqlalchemy.ext.baked', # windows build doesn't launch without if when using sqlalchemy 1.3.x
'pkg_resources.py2_warn' # issue 2156
]
# Walk directories that do dynamic importing

View File

@@ -3,9 +3,6 @@ echo "Python version:"
python3 --version
echo "Upgrading pip..."
python3 -m pip install --upgrade pip
# See issue #2156
echo "Upgrading setuptools..."
python3 -m pip install --upgrade setuptools
echo "Installing app requirements..."
python3 -m pip install -r requirements.txt
echo "Installing packaging tools..."