HOME/Articles/

pyqt example setup (snippet)

Article Outline

Python pyqt (gui) example 'setup'

setup

Python pyqt example: setup

# from distutils.core import setup, Extension
# 
# from Cython.Distutils import build_ext
# 
# 
# setup(
#     cmdclass={'build_ext': build_ext},
#     ext_modules=[Extension("pointtool", sources=[
#                            "pointtool.pyx"], language="c")]
# )

from distutils.core import setup
from Cython.Build import cythonize

setup(
    ext_modules=cythonize("pointtool.pyx"),
)