-
-
Notifications
You must be signed in to change notification settings - Fork 611
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
6cfc637
commit 0252a7a
Showing
7 changed files
with
204 additions
and
76 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
24 changes: 24 additions & 0 deletions
24
tests/test_data/packages/small_fake_with_build_deps/backend/backend.py
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 | ||
|
||
import setuptools.build_meta | ||
|
||
build_wheel = setuptools.build_meta.build_wheel | ||
build_sdist = setuptools.build_meta.build_sdist | ||
|
||
|
||
def get_requires_for_build_sdist(config_settings=None): | ||
result = setuptools.build_meta.get_requires_for_build_sdist(config_settings) | ||
assert result == [] | ||
result.append("small-fake-a") | ||
return result | ||
|
||
|
||
def get_requires_for_build_wheel(config_settings=None): | ||
result = setuptools.build_meta.get_requires_for_build_wheel(config_settings) | ||
assert result == ["wheel"] | ||
result.append("small-fake-b") | ||
return result | ||
|
||
|
||
def get_requires_for_build_editable(config_settings=None): | ||
return ["small-fake-c"] |
Oops, something went wrong.