File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 11[build-system ]
2- requires = [" setuptools" , " wheel" , " Cython>=0.29.30" ]
3- build-backend = " setuptools.build_meta"
2+ requires = [" setuptools" , " wheel" , " Cython" ]
Original file line number Diff line number Diff line change 1- from setuptools import find_packages , setup
2- from Cython .Build import cythonize
1+ from setuptools import Extension , find_packages , setup
2+ from Cython .Build import cythonize , build_ext
33
44with open ("README.md" , 'r' ) as f :
55 long_description = f .read ()
2222 "einops>=0.4" ,
2323 "einops-exts>=0.0.3"
2424 ],
25- ext_modules = cythonize (["./aligner_pytorch/*.pyx" ]),
25+ extensions = [Extension ("*" , ["*.pyx" ])],
26+ cmdclass = {'build_ext' : build_ext },
2627 classifiers = [
2728 "Development Status :: 4 - Beta" ,
2829 "Intended Audience :: Developers" ,
You can’t perform that action at this time.
0 commit comments