Contents Menu Expand Light mode Dark mode Auto light/dark mode
meson-python 0.13.0.dev1
meson-python 0.13.0.dev1

Information

  • Change-log
  • Projects using meson-python
  • Security

Tutorials

  • Introduction to Python packaging with meson-python
  • Using data files
  • Entry points
  • Executable

How to guides

  • First project
  • Adding dependencies
  • Editable installs
  • Use build config settings
  • Passing arguments to Meson
  • Use a permanent build directory
  • Executable with internal dependencies

Reference

  • Build config settings
  • pyproject.toml settings
  • Environment variables
  • Quirks
  • Limitations

Explanations

  • How does meson-python work?
  • Default build options
  • How do we handle internal dependencies?
  • How do editable installs work?

Contributing

  • Getting started
  • Commit format
  • Test suite
  • Documentation
  • Release Process

Project Links

  • Source Code
  • Issue Tracker
  v: latest
Versions
latest
stable
Downloads
On Read the Docs
Project Home
Builds
Back to top
Edit this page

Use a permanent build directory#

Todo

  • Explain why you’d want to use the builddir option - Mention it works properly when using --cross-file (eg. https://github.com/scipy/scipy/blob/1c836efe5ff37ffa4490756269b060a464690e62/.github/workflows/wheels.yml#L180-L188)

  • Explain how builddir works

  • Warn that user-configured build directories are “use at your own risk”

  • Warn that meson-python version mismatches in the build directory can cause trouble

Next
Executable with internal dependencies
Previous
Passing arguments to Meson
Copyright © 2021, Quansight Labs, Filipe Laíns
Made with Sphinx and @pradyunsg's Furo