Add a new --pyvers argument to setup.py for specifying versions.

Review Request #11874 — Created Nov. 12, 2021 and discarded — Latest diff uploaded

Information

Review Board
release-4.0.x

Reviewers

Usually we'll want to set up development environments using
--all-pyvers, which will set up all supported versions. In some cases,
however, it can be useful to set up a subset of versions (for example,
right now Python 3.6 and 3.7 don't work correctly on Apple M1). This
change adds a new argument that allows doing something like
python setup.py develop --pyvers "2.7 3.8 3.9"

Used to set up a dev environment.

Diff Revision 1 (Latest)

Commits

First Last Summary ID Author
Add a new --pyvers argument to setup.py for specifying versions.
Usually we'll want to set up development environments using `--all-pyvers`, which will set up all supported versions. In some cases, however, it can be useful to set up a subset of versions (for example, right now Python 3.6 and 3.7 don't work correctly on Apple M1). This change adds a new argument that allows doing something like `python setup.py develop --pyvers "2.7 3.8 3.9"` Testing Done: Used to set up a dev environment.
54ca84f6536ec16cc1e6309c9680991e3a3820b2 David Trowbridge

Files

setup.py
Loading...