Spaces:
Sleeping
Sleeping
Download setup.py from osel-dbcms/Justify: direct link, hf CLI and curl.
- Browser
- Download file 412 Bytes
-
https://huggingface.co/spaces/osel-dbcms/Justify/resolve/main/setup.py
- Command line
-
hf download hf://spaces/osel-dbcms/Justify/setup.py
-
curl -L -o setup.py https://huggingface.co/spaces/osel-dbcms/Justify/resolve/main/setup.py
412 Bytes
| from setuptools import setup, Extension | |
| from Cython.Build import cythonize | |
| import numpy as np | |
| ext = Extension( | |
| name="fast_bisect.fast_bisect", # import fast_bisect.fast_bisect | |
| sources=["fast_bisect/fast_bisect.pyx"], | |
| include_dirs=[np.get_include()], | |
| ) | |
| setup( | |
| name="fast_bisect", | |
| version="0.0.0", | |
| ext_modules=cythonize([ext], compiler_directives={"language_level": "3"}), | |
| ) |