-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use venv for Python dependencies (macOS) (#22036)
Create a series of scripts to set up and manage a Python virtual environment that can be used to build (and test) Drake. Remove Python packages from macOS setup. Add dependencies to the virtual environment as needed. Adjust install test wrapper to use the virtual environment. Adjust macOS wheel builder to set up its own virtual environment only for additional wheel-only packages. Co-authored-by: Jeremy Nimmer <jeremy.nimmer@tri.global>
- Loading branch information
1 parent
82999cb
commit a60c85e
Showing
22 changed files
with
1,006 additions
and
59 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# PyPI packages to make available for Drake source builds. | ||
|
||
# WARNING for Drake Developers: if you change this file, then you must | ||
# regenerate the "locked" requirements files via: | ||
# | ||
# tools/workspace/python/venv_upgrade | ||
|
||
-r ../binary_distribution/requirements.txt | ||
|
||
# Packages that we are happy to take the most recent version any time we update. | ||
# The versions of these packages are "locked" in the requirements-build.txt file | ||
# and can change any time it updates. These are in addition to anything listed | ||
# in the binary_distribution requirements. | ||
|
||
# (None) | ||
|
||
# The following are constrained or pinned version of packages. Typically we | ||
# shouldn't need constraints, so anything listed here must be accompanied by | ||
# a comment explaining the need for the constraint. | ||
|
||
# (None) |
Oops, something went wrong.