File: setup2.py

package info (click to toggle)
pplpy 0.8.9-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 532 kB
  • sloc: python: 306; makefile: 39; cpp: 21; sh: 2
file content (11 lines) | stat: -rw-r--r-- 283 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
from setuptools import Extension, setup
from Cython.Build import cythonize


extension = Extension("testpplpy2", ["testpplpy2.pyx"], language='c++', libraries=['ppl'])
opts = {
    'compiler_directives': {'language_level': '3'}
    }


setup(ext_modules=cythonize(extension, *opts))