File: setup.py

package info (click to toggle)
dh-python 7.20251231
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,596 kB
  • sloc: python: 6,487; makefile: 605; perl: 251; sh: 36
file content (14 lines) | stat: -rw-r--r-- 281 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
from setuptools import setup, Extension

setup_args = dict(
    ext_modules=[
        Extension(
            'foo.ext',
            ['foo/ext.c'],
            depends=['foo/ext.h'],
            py_limited_api=True,
        )
    ],
    headers=['foo/ext.h'],
)
setup(**setup_args)