-
Notifications
You must be signed in to change notification settings - Fork 134
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
Showing
2 changed files
with
14 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 1,2 @@ | ||
This directory will match the LICENSE* glob which Flit uses to add license | ||
files to wheel metadata. |
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,12 @@ | ||
from pathlib import Path | ||
|
||
from testpath import assert_isfile | ||
|
||
from flit_core.wheel import make_wheel_in | ||
|
||
samples_dir = Path(__file__).parent / 'samples' | ||
|
||
def test_licenses_dir(tmp_path): | ||
# Smoketest for https://github.com/takluyver/flit/issues/399 | ||
info = make_wheel_in(samples_dir / 'inclusion' / 'pyproject.toml', tmp_path) | ||
assert_isfile(info.file) |