(**kwargs)
| 56 | |
| 57 | |
| 58 | def create_sdist(**kwargs): |
| 59 | # type: (**Any) -> str |
| 60 | dist_dir = safe_mkdtemp() |
| 61 | |
| 62 | with make_project(**kwargs) as project_dir: |
| 63 | build_sdist( |
| 64 | project_directory=project_dir, |
| 65 | dist_dir=dist_dir, |
| 66 | target=targets.current(), |
| 67 | resolver=ConfiguredResolver.default(), |
| 68 | ) |
| 69 | |
| 70 | dists = os.listdir(dist_dir) |
| 71 | assert len(dists) == 1 |
| 72 | return os.path.join(dist_dir, dists[0]) |
| 73 | |
| 74 | |
| 75 | def build_wheel(**kwargs): |
no test coverage detected