-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.py
32 lines (29 loc) · 873 Bytes
/
build.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
#!/usr/bin/env python
from threading import local
from setuptools import dist
import os
from setuptools import setup
from setuptools_rust import Binding, RustExtension
def build(setup_kwargs):
setup(
name="fiborusty",
version="0.1",
rust_extensions=[
RustExtension(
".fiborusty.fiborusty",
path="Cargo.toml",
binding=Binding.PyO3,
)
],
packages=["fiborusty"],
classifiers=[
"License :: OSI Approved :: MIT License",
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"Programming Language :: Python",
"Programming Language :: Rust",
"Operating System :: POSIX",
"Operating System :: MacOS :: MacOS X",
],
zip_safe=False,
)