-
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 PDM instead of pip-tools to manage venv
Replace use of pip-tools to set up and maintain a Python virtual environment (currently, only on macOS) with PDM. In addition to supporting more modern Python conventions, including dependency groups (which reduces the number of files involved in managing the venv), PDM strives to be platform agnostic and should allow us to perform lock file updates once (or at least from a single platform), rather than having to separately update lock files for every supported platform.
- Loading branch information
1 parent
7b5bb38
commit 14e253e
Showing
13 changed files
with
2,546 additions
and
774 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
[project] | ||
name = "drake" | ||
version = "1.36.0" | ||
description = "Default template for PDM package" | ||
authors = [ | ||
{name = "Drake Development Team", email = "drake-users@mit.edu"}, | ||
] | ||
requires-python = ">=3.10" | ||
readme = "README.md" | ||
license = {text = "BSD-3-Clause"} | ||
dependencies = [ | ||
"ipywidgets", | ||
"matplotlib", | ||
"notebook", | ||
"Pillow", | ||
"pydot", | ||
"PyYAML", | ||
] | ||
|
||
[dependency-groups] | ||
test = [ | ||
"flask", | ||
"six", | ||
"u-msgpack-python", | ||
"websockets", | ||
] | ||
|
||
[tool.pdm] | ||
distribution = false |
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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.