From 298b5a9a163eb2a371d90770b71706cc4cb0003a Mon Sep 17 00:00:00 2001 From: Kangkang Wang Date: Sat, 21 Mar 2020 09:31:36 +0100 Subject: [PATCH] Remove Feature module to match setuptools >=46.0.0 https://github.com/pypa/setuptools/issues/65 https://github.com/pypa/setuptools/issues/2017 https://github.com/openslide/openslide/issues/287 --- setup.py | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/setup.py b/setup.py index cb9aa9e5..8f71c286 100644 --- a/setup.py +++ b/setup.py @@ -1,5 +1,5 @@ import os -from setuptools import setup, Extension, Feature +from setuptools import setup, Extension # Load version string _verfile = os.path.join(os.path.dirname(__file__), 'openslide', '_version.py') @@ -15,15 +15,9 @@ packages=[ 'openslide', ], - features={ - 'performance': Feature( - 'performance-enhancing extension module', - standard=True, - ext_modules=[ - Extension('openslide._convert', ['openslide/_convert.c']), - ], - ), - }, + ext_modules=[ + Extension('openslide._convert', ['openslide/_convert.c']), + ], test_suite='tests', maintainer='OpenSlide project', maintainer_email='openslide-users@lists.andrew.cmu.edu',