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

10 lines
204 B
Python
Raw Normal View History

2018-05-06 01:42:03 +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"])]
)