File tree Expand file tree Collapse file tree 1 file changed +11
-13
lines changed
Expand file tree Collapse file tree 1 file changed +11
-13
lines changed Original file line number Diff line number Diff line change 11[build-system ]
2- requires = [" maturin>=1.5,<2.0 " ]
3- build-backend = " maturin "
2+ requires = [" setuptools>=69 " , " wheel " ]
3+ build-backend = " setuptools.build_meta "
44
55[project ]
66name = " glossapi"
@@ -34,7 +34,6 @@ classifiers = [
3434 " Programming Language :: Python" ,
3535 " Programming Language :: Python :: 3" ,
3636 " Programming Language :: Rust" ,
37- " License :: OSI Approved :: European Union Public Licence 1.2 (EUPL 1.2)" ,
3837]
3938
4039[project .optional-dependencies ]
@@ -66,17 +65,16 @@ docs = [
6665 " mkdocs-material>=9.5" ,
6766]
6867
69- [tool .maturin ]
70- bindings = " pyo3"
71- # The crate is located under rust/glossapi_rs_noise
72- module-name = " glossapi_rs_noise"
73- python-source = " src"
68+ [tool .setuptools ]
69+ package-dir = {"" = " src" }
70+ include-package-data = true
7471
75- manifest-path = " rust/glossapi_rs_noise/Cargo.toml"
76- include = [" src/**" ]
77- python-packages = [
78- " glossapi"
79- ]
72+ [tool .setuptools .packages .find ]
73+ where = [" src" ]
74+ include = [" glossapi" , " glossapi.*" ]
75+
76+ [tool .setuptools .package-data ]
77+ glossapi = [" models/**/*" ]
8078
8179[tool .pytest .ini_options ]
8280markers = [
You can’t perform that action at this time.
0 commit comments