From bae725102bcca09ef90d257e0f0aa06d17cf8610 Mon Sep 17 00:00:00 2001 From: Ralf Schmitt Date: Wed, 8 Jan 2014 00:01:31 +0100 Subject: [PATCH] twine allows me to get rid of fixup subcommand --- setup.py | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) diff --git a/setup.py b/setup.py index ab537332..3ce6f7e3 100755 --- a/setup.py +++ b/setup.py @@ -15,7 +15,6 @@ if not (sys.modules.get("setuptools") or "develop" in sys.argv or "upload" in sys.argv - or "fixup" in sys.argv or "bdist_egg" in sys.argv or "bdist_wheel" in sys.argv or "test" in sys.argv): @@ -82,19 +81,6 @@ def build_extensions(self): _build_ext.build_extensions(self) -class fixup(Command): - user_options = [] - description = "prevent duplicate uploads and upload for the wrong architecture" - - def initialize_options(self): - pass - - def finalize_options(self): - pass - - def run(self): - del self.distribution.dist_files[:-1] - setup( name="greenlet", version='0.4.2', @@ -107,7 +93,7 @@ def run(self): platforms=['any'], headers=headers, ext_modules=ext_modules, - cmdclass=dict(build_ext=build_ext, fixup=fixup), + cmdclass=dict(build_ext=build_ext), classifiers=[ 'Intended Audience :: Developers', 'License :: OSI Approved :: MIT License',