File: setup.py

package info (click to toggle)
fast-histogram 0.14-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 328 kB
  • sloc: ansic: 974; python: 610; makefile: 6
file content (20 lines) | stat: -rw-r--r-- 468 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/usr/bin/env python

import os
import sys

import numpy
from setuptools import setup
from setuptools.extension import Extension

setup(
    use_scm_version={"write_to": os.path.join("fast_histogram", "version.py")},
    ext_modules=[
        Extension(
            "fast_histogram._histogram_core",
            [os.path.join("fast_histogram", "_histogram_core.c")],
            py_limited_api=True,
            include_dirs=[numpy.get_include()],
        )
    ],
)