Quietly building the future.
2024-07-10
In this case I created the Python project with maturin new -b pyo3 myproject
so I could mix Python and Rust.
Running rye init
per the Rye docs gives this error:
❯ rye init
error: pyproject.toml already exists
I discovered the other commands seem to work just fine. It's as if I ran rye init
already. This isn't entirely clear from the docs. Noting it here for my future self.
❯ rye version
0.1.0
❯ rye build
Compiling myproject v0.1.0 (/Users/username/myproject)
Finished dev [unoptimized + debuginfo] target(s) in 0.17s
❯ rye publish
Uploading distributions to https://upload.pypi.org/legacy/
Uploading myproject-0.1.0-cp310-abi3-macosx_10_7_x86_64.whl
100% ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 222.3/222.3 kB • 00:00 • 522.3 kB/s
Uploading myproject-0.1.0.tar.gz
100% ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 7.8/7.8 kB • 00:00 • ?
View at:
https://pypi.org/project/myproject/0.1.0/