Git Product home page Git Product logo

Comments (4)

messense avatar messense commented on June 22, 2024

You can use pip install --config-settings build-args='--offline'.

from maturin.

theCapypara avatar theCapypara commented on June 22, 2024

Thanks, is this documented anywhere? I went through the documentation and found nothing of the sorts.

from maturin.

messense avatar messense commented on June 22, 2024

No, pull requests are welcome to document it.

See also #1619.

from maturin.

theCapypara avatar theCapypara commented on June 22, 2024

Thank you. For reference, the following command works in a Flatpak:

. /usr/lib/sdk/rust-stable/enable.sh && cp /app/whl_tmp/tomli-2.0.1-*.whl . && cp /app/whl_tmp/maturin-1.2.3-cp310-cp310-*.whl . && pip3 wheel --verbose --exists-action=i --no-index --find-links=\"file://${PWD}\" --config-settings build-args='--offline' \"./rpds_py\" -w /app/whl_tmp```

It must be noted that Maturin and tomli must be pre-built in a preceding module, because maturin itself currently needs to be patched due to PyO3/setuptools-rust#363

from maturin.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.