File: setup.py

package info (click to toggle)
pyzmq 20.0.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 2,228 kB
  • sloc: python: 14,051; ansic: 941; cpp: 315; makefile: 179; sh: 32
file content (13 lines) | stat: -rw-r--r-- 335 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
from setuptools import setup
from setuptools.extension import Extension
from Cython.Build import cythonize

import numpy
import zmq

extensions = [
    Extension(
        "cyzmq_example", ["cyzmq.pyx"], include_dirs=zmq.get_includes() + [numpy.get_include()]
    )
]
setup(name="cython-zmq-example", ext_modules=cythonize(extensions))