Skip to content

Commit

Permalink
Merge pull request #873 from messense/interpreter-multiple-values
Browse files Browse the repository at this point in the history
Accept multiple values for `--interpreter` option
  • Loading branch information
messense authored Apr 6, 2022
2 parents b1cd2dd + ae03621 commit 045a120
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions Changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [Unreleased]

* Automatically include license files in `.dist-info/license_files` following PEP 639 in [#862](https://github.com/PyO3/maturin/pull/862)
* Bring back multiple values support for `--interpreter` option in [#873](https://github.com/PyO3/maturin/pull/873)

## [0.12.11] - 2022-03-15

Expand Down
2 changes: 1 addition & 1 deletion src/build_options.rs
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ pub struct BuildOptions {

/// The python versions to build wheels for, given as the names of the
/// interpreters. Uses autodiscovery if not explicitly set.
#[clap(short, long)]
#[clap(short, long, multiple_values = true, multiple_occurrences = true)]
pub interpreter: Vec<PathBuf>,

/// Which kind of bindings to use. Possible values are pyo3, rust-cpython, cffi and bin
Expand Down

0 comments on commit 045a120

Please sign in to comment.