-
-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support without distutils #2146
Conversation
Codecov Report
@@ Coverage Diff @@
## main #2146 +/- ##
==========================================
- Coverage 93.64% 93.54% -0.10%
==========================================
Files 88 88
Lines 4358 4371 +13
==========================================
+ Hits 4081 4089 +8
- Misses 277 282 +5
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
Signed-off-by: Bernát Gábor <gaborjbernat@gmail.com>
Signed-off-by: Bernát Gábor <bgabor8@bloomberg.net>
for more information, see https://pre-commit.ci
Resolves #1910. |
Signed-off-by: Bernát Gábor <bgabor8@bloomberg.net>
@@ -27,7 +27,7 @@ def test_discovery_via_path(monkeypatch, case, tmp_path, caplog, session_app_dat | |||
elif case == "upper": | |||
name = name.upper() | |||
exe_name = "{}{}{}".format(name, current.version_info.major, ".exe" if sys.platform == "win32" else "") | |||
target = tmp_path / current.distutils_install["scripts"] | |||
target = tmp_path / current.install_path("scripts") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we test both execution flows paths of install_path
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What do you mean?
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Signed-off-by: Bernát Gábor bgabor8@bloomberg.net