File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 44
55from setuptools import setup
66from setuptools .command import build_ext as dst_build_ext
7- from setuptools .command import sdist as dst_sdist
87from setuptools .extension import Extension
98
109MODULEDIR = 'src/pkgcraft'
@@ -89,22 +88,6 @@ def extensions(**build_opts):
8988 return exts
9089
9190
92- class sdist (dst_sdist .sdist ):
93- """sdist command wrapper to bundle generated files for release."""
94-
95- def run (self ):
96- # generate cython extensions
97- if CYTHON_EXTS :
98- from Cython .Build import cythonize
99- cythonize (
100- CYTHON_EXTS ,
101- compiler_directives = compiler_directives ,
102- annotate = False ,
103- )
104-
105- super ().run ()
106-
107-
10891class build_ext (dst_build_ext .build_ext ):
10992 """Enable building cython extensions with coverage support."""
11093
@@ -175,6 +158,5 @@ def run(self):
175158 ext_modules = extensions (),
176159 cmdclass = {
177160 'build_ext' : build_ext ,
178- 'sdist' : sdist ,
179161 },
180162)
You can’t perform that action at this time.
0 commit comments