-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
38 lines (33 loc) · 1.07 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
"""Setup dino-py"""
from setuptools import setup
from setuptools_rust import RustExtension
def main():
setup_requires = ["setuptools-rust>=0.12", "wheel", "setuptools_scm"]
install_requires = ["numpy"]
tests_require = install_requires
setup(
name="kbest-lap",
use_scm_version={
'write_to': 'kbest_lap/version.py',
'write_to_template': '__version__ = "{version}"\n'
},
classifiers=[
"Programming Language :: Python",
"Programming Language :: Rust",
"Operating System :: POSIX",
"Operating System :: MacOS :: MacOS X",
],
packages=["kbest_lap"],
rust_extensions=[
RustExtension("kbest_lap.rust_ext", "Cargo.toml", debug=False),
],
author='Han Jaeseung',
author_email='[email protected]',
install_requires=install_requires,
tests_require=tests_require,
setup_requires=setup_requires,
include_package_data=True,
zip_safe=False,
)
if __name__ == "__main__":
main()