Download setup.py from Oxpose/Soma-1M: direct link, hf CLI and curl.
- Browser
- Download file 288 Bytes
-
https://huggingface.co/Oxpose/Soma-1M/resolve/main/setup.py
- Command line
-
hf download hf://Oxpose/Soma-1M/setup.py
-
curl -L -o setup.py https://huggingface.co/Oxpose/Soma-1M/resolve/main/setup.py
288 Bytes
| import numpy | |
| from Cython.Build import cythonize | |
| from setuptools import Extension, setup | |
| ext = Extension( | |
| "rosa", | |
| ["rosa.pyx"], | |
| include_dirs=[numpy.get_include()], | |
| extra_compile_args=["/O3", "/openmp"], | |
| ) | |
| setup(ext_modules=cythonize([ext], language_level=3)) | |