Mercurial > hg > python
annotate cy_works/setup.py @ 68:eb91fd5d49b3
minimally changed to get Cython Queue example working, Cython version
author | Henry S Thompson <ht@inf.ed.ac.uk> |
---|---|
date | Fri, 17 Jan 2025 15:43:56 +0000 |
parents | |
children |
rev | line source |
---|---|
68
eb91fd5d49b3
minimally changed to get Cython Queue example working, Cython version
Henry S Thompson <ht@inf.ed.ac.uk>
parents:
diff
changeset
|
1 from setuptools import Extension, setup |
eb91fd5d49b3
minimally changed to get Cython Queue example working, Cython version
Henry S Thompson <ht@inf.ed.ac.uk>
parents:
diff
changeset
|
2 from Cython.Build import cythonize |
eb91fd5d49b3
minimally changed to get Cython Queue example working, Cython version
Henry S Thompson <ht@inf.ed.ac.uk>
parents:
diff
changeset
|
3 |
eb91fd5d49b3
minimally changed to get Cython Queue example working, Cython version
Henry S Thompson <ht@inf.ed.ac.uk>
parents:
diff
changeset
|
4 setup( |
eb91fd5d49b3
minimally changed to get Cython Queue example working, Cython version
Henry S Thompson <ht@inf.ed.ac.uk>
parents:
diff
changeset
|
5 ext_modules = cythonize([Extension("qu", ["qu.pyx"])]) |
eb91fd5d49b3
minimally changed to get Cython Queue example working, Cython version
Henry S Thompson <ht@inf.ed.ac.uk>
parents:
diff
changeset
|
6 ) |