-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
39 lines (37 loc) · 1.09 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
39
#!/usr/bin/env python
from setuptools_rust import Binding, RustExtension
from setuptools import setup
from setuptools import dist
dist.Distribution().fetch_build_eggs(['setuptools_rust'])
setup(
name="fliton-fib-rs",
version="0.1",
rust_extensions=[
RustExtension(".fliton_fib_rs.fliton_fib_rs",
path="Cargo.toml",
binding=Binding.PyO3)
],
requirements=[
"pyyaml>=3.1.3",
"numpy"
],
packages=["fliton_fib_rs"],
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,
entry_points={
'console_scripts': [
'fib-number=fliton_fib_rs.fib_number_command:fib_number_command',
'config-fib=fliton_fib_rs.'
'config_number_command:'
'config_number_command',
]
}
)