11[build-system ]
2- requires = [
3- " setuptools>=62.1,<63" ,
4- " setuptools_rust>=1.3,<1.4" ,
5- " wheel>=0.34,<0.35" ,
6- ]
2+ requires = [" setuptools" , " setuptools-rust" ]
3+ build-backend = " setuptools.build_meta"
4+
5+ [project ]
6+ name = " rustfst-python"
7+ version = " 1.1.1"
8+ authors = [
9+ {
name =
" Alexandre Caulier" ,
email =
" [email protected] " },
10+ {
name =
" Emrick Sinitambirivoutin" ,
email =
" [email protected] " },
11+ ]
12+ description = " Library for constructing, combining, optimizing, and searching weighted finite-state transducers (FSTs). Re-implementation of OpenFst in Rust."
13+ # readme = "../README.md"
14+ requires-python = " >=3.8"
15+ keywords = [" fst" , " openfst" , " graph" , " transducer" , " acceptor" ,
16+ " shortest-path" , " minimize" , " determinize" , " wfst" ]
17+ license = { text =" Apache License, Version 2.0" }
18+ classifiers = [
19+ " Programming Language :: Python :: 3" ,
20+ " Programming Language :: Python :: 3.8" ,
21+ " Programming Language :: Python :: 3.9" ,
22+ " Programming Language :: Python :: 3.10" ,
23+ " Programming Language :: Python :: 3.11" ,
24+ " Programming Language :: Python :: 3.12" ,
25+ " Programming Language :: Rust" ,
26+ " Topic :: Scientific/Engineering :: Mathematics" ,
27+ " Topic :: Scientific/Engineering :: Artificial Intelligence" ,
28+ " Topic :: Text Processing" ,
29+ " License :: OSI Approved :: Apache Software License" ,
30+ ]
31+
32+ [project .optional-dependencies ]
33+ tests = [ " pytest>=6,<7" , " pylint" ]
34+
35+ # Not sure about this one...
36+ # options={"bdist_wheel": {"universal": True}},
37+
38+ [tool .setuptools .packages .find ]
39+ include = [" rustfst" ]
40+
41+ [[tool .setuptools-rust .ext-modules ]]
42+ target = " rustfst.dylib.dylib"
43+ path = " ../rustfst-ffi/Cargo.toml"
44+ binding = " NoBinding"
0 commit comments