Rename msvc9compiler instead of excluding it from Black

Signed-off-by: Dan Yeaw <dan@yeaw.me>
This commit is contained in:
Dan Yeaw 2019-04-19 22:45:12 -04:00
parent 8e3af5c14c
commit c4f9d7eaf6
No known key found for this signature in database
GPG Key ID: 77A923EF537B61A4
3 changed files with 1 additions and 15 deletions

View File

@ -77,20 +77,6 @@ gaphorconvert = 'gaphor.tools.gaphorconvert:main'
"consolewindow" = "gaphor.ui.consolewindow:ConsoleWindow"
"elementeditor" = "gaphor.ui.elementeditor:ElementEditor"
[tool.black]
exclude = '''
(
/(
\.eggs
| \.git
| \.venv
| build
| dist
)/
| msvc9compiler.py
)
'''
[build-system]
requires = ["setuptools", "wheel", "poetry>=0.12"]
build-backend = "poetry.masonry.api"

View File

@ -99,7 +99,7 @@ function install_deps {
# Temporary workaround until mingw64 python3 is patched
# Line 296 changed to not raise a VC 6.0 version error
cp "${DIR}"/msvc9compiler.py "${MINGW_ROOT}"/lib/python3.7/distutils/
cp "${DIR}"/msvc9compiler "${MINGW_ROOT}"/lib/python3.7/distutils/msvc9compiler.py
PIP_REQUIREMENTS="\
pycairo==1.18.0