We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 609af32 commit ef282d7Copy full SHA for ef282d7
setup.py
@@ -1,5 +1,5 @@
1
import os
2
-from setuptools import setup, Extension
+from setuptools import setup, Extension, Feature
3
4
# Load version string
5
_verfile = os.path.join(os.path.dirname(__file__), 'openslide', '_version.py')
@@ -12,9 +12,15 @@
12
packages=[
13
'openslide',
14
],
15
- ext_modules=[
16
- Extension('openslide._convert', ['openslide/_convert.c']),
17
- ],
+ features={
+ 'performance': Feature(
+ 'performance-enhancing extension module',
18
+ standard=True,
19
+ ext_modules=[
20
+ Extension('openslide._convert', ['openslide/_convert.c']),
21
+ ],
22
+ ),
23
+ },
24
maintainer='OpenSlide project',
25
maintainer_email='[email protected]',
26
description='Python interface to OpenSlide',
0 commit comments