PyQt/Test/C和C++扩展/py转pyd/setup.py

10 lines
195 B
Python
Raw Normal View History

2018-12-28 23:09:46 +08:00
from distutils.core import setup, Extension
from Cython.Distutils import build_ext
setup(
cmdclass={'build_ext': build_ext},
ext_modules=[Extension("pydmod", sources=["pydmod.py"])]
)