V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
推荐学习书目
Learn Python the Hard Way
Python Sites
PyPI - Python Package Index
http://diveintopython.org/toc/index.html
Pocoo
值得关注的项目
PyPy
Celery
Jinja2
Read the Docs
gevent
pyenv
virtualenv
Stackless Python
Beautiful Soup
结巴中文分词
Green Unicorn
Sentry
Shovel
Pyflakes
pytest
Python 编程
pep8 Checker
Styles
PEP 8
Google Python Style Guide
Code Style from The Hitchhiker's Guide
messense
V2EX  ›  Python

maturin: Build and publish crates with pyo3, rust-cpython and cffi bindings as well as rust binaries as Python packages

  •  
  •   messense ·
    messense · 2021-11-23 14:19:39 +08:00 · 1461 次点击
    这是一个创建于 891 天前的主题,其中的信息可能已经有所发展或是发生改变。

    GitHub: https://github.com/PyO3/maturin User Guide: https://maturin.rs

    之前 /t/816053 想做的使用 PyPI 分发二进制文件的事情,使用 Rust 就很简单:

    $ maturin build --release -b bin
    

    举个例子: https://github.com/messense/auditwheel-symbols ,PyPI 地址: https://pypi.org/project/auditwheel-symbols/

    GitHub Actions 上可以比较方便地构建 manylinux/musllinux 兼容的 wheel: https://github.com/messense/maturin-action

    1 条回复    2024-04-10 09:35:55 +08:00
    Vcide
        1
    Vcide  
       23 天前
    正在学习使用楼主开发的 PyO3 和 Maturin 来开发 Python 包,上手很顺滑
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   2161 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 25ms · UTC 05:27 · PVG 13:27 · LAX 22:27 · JFK 01:27
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.