Remove dist egg after install in release-test

This commit is contained in:
Andrew Murray 2020-10-18 22:35:50 +11:00
parent c4414287dd
commit d832c311b5
2 changed files with 2 additions and 2 deletions

View File

@ -90,7 +90,7 @@ release-test:
python3 setup.py develop python3 setup.py develop
python3 selftest.py python3 selftest.py
python3 -m pytest Tests python3 -m pytest Tests
python3 setup.py install python3 setup.py install --remove-dist-egg
python3 -m pytest -qq python3 -m pytest -qq
check-manifest check-manifest
pyroma . pyroma .

View File

@ -927,7 +927,7 @@ which was requested by the option flag --enable-{str(err)}
raise DependencyException(msg) raise DependencyException(msg)
if remove_dist_egg: if remove_dist_egg:
egg_path = distribution.get_command_obj('bdist_egg').egg_output egg_path = distribution.get_command_obj("bdist_egg").egg_output
if egg_path: if egg_path:
os.remove(egg_path) os.remove(egg_path)
try: try: