PYTHON-3407 macos release failing on Python 3.8 AttributeError: 'Distribution' object has no attribute 'convert_2to3_doctests' (#1044)
This commit is contained in:
parent
1e6b4a48d4
commit
9ff0ac8a62
@ -12,16 +12,10 @@ for VERSION in 3.7 3.8 3.9 3.10; do
|
||||
PYTHON=/Library/Frameworks/Python.framework/Versions/$VERSION/bin/python3
|
||||
rm -rf build
|
||||
|
||||
# Install wheel if not already there.
|
||||
if ! $PYTHON -m wheel version; then
|
||||
createvirtualenv $PYTHON releasevenv
|
||||
WHEELPYTHON=python
|
||||
python -m pip install --upgrade wheel
|
||||
else
|
||||
WHEELPYTHON=$PYTHON
|
||||
fi
|
||||
|
||||
$WHEELPYTHON setup.py bdist_wheel
|
||||
createvirtualenv $PYTHON releasevenv
|
||||
python -m pip install --upgrade wheel
|
||||
python -m pip install setuptools==63.2.0
|
||||
python setup.py bdist_wheel
|
||||
deactivate || true
|
||||
rm -rf releasevenv
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user