-
-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use uv for packaging environments too (#7)
- Loading branch information
1 parent
fbea9f6
commit 77f9b1a
Showing
6 changed files
with
47 additions
and
10 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
from __future__ import annotations | ||
|
||
from tox.tox_env.python.virtual_env.package.cmd_builder import VenvCmdBuilder | ||
from tox.tox_env.python.virtual_env.package.pyproject import Pep517VenvPackager | ||
|
||
from ._venv import UvVenv | ||
|
||
|
||
class UvVenvPep517Packager(Pep517VenvPackager, UvVenv): | ||
@staticmethod | ||
def id() -> str: | ||
return "uv-venv-pep-517" | ||
|
||
|
||
class UvVenvCmdBuilder(VenvCmdBuilder, UvVenv): | ||
@staticmethod | ||
def id() -> str: | ||
return "uv-venv-cmd-builder" | ||
|
||
|
||
__all__ = [ | ||
"UvVenvCmdBuilder", | ||
"UvVenvPep517Packager", | ||
] |
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