diff --git a/Makefile b/Makefile index 4fd031b69..7a54a546d 100644 --- a/Makefile +++ b/Makefile @@ -90,7 +90,7 @@ release-test: python3 setup.py develop python3 selftest.py python3 -m pytest Tests - python3 setup.py install + python3 setup.py install --remove-dist-egg python3 -m pytest -qq check-manifest pyroma . diff --git a/setup.py b/setup.py index 9f406b7c8..d8106eee7 100755 --- a/setup.py +++ b/setup.py @@ -927,7 +927,7 @@ which was requested by the option flag --enable-{str(err)} raise DependencyException(msg) 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: os.remove(egg_path) try: