mirror of
https://github.com/microsoft/qlib.git
synced 2026-06-06 14:01:28 +08:00
* dont manually call setuptools_scm - its integrated setuptools_scm automatically set the version attribute - manually setting it wrong * fix(docs): set fallback version for setuptools-scm to fix autodoc import errors on Read the Docs --------- Co-authored-by: SunsetWolf <Lv.Linlang@hotmail.com>
26 lines
510 B
Python
26 lines
510 B
Python
import os
|
|
|
|
import numpy
|
|
from setuptools import Extension, setup
|
|
|
|
|
|
NUMPY_INCLUDE = numpy.get_include()
|
|
|
|
|
|
setup(
|
|
ext_modules=[
|
|
Extension(
|
|
"qlib.data._libs.rolling",
|
|
["qlib/data/_libs/rolling.pyx"],
|
|
language="c++",
|
|
include_dirs=[NUMPY_INCLUDE],
|
|
),
|
|
Extension(
|
|
"qlib.data._libs.expanding",
|
|
["qlib/data/_libs/expanding.pyx"],
|
|
language="c++",
|
|
include_dirs=[NUMPY_INCLUDE],
|
|
),
|
|
],
|
|
)
|