File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -357,10 +357,11 @@ def test_include_package_data_in_setuppy(tmp_path):
357
357
358
358
See https://github.com/pypa/setuptools/issues/3197#issuecomment-1079023889
359
359
"""
360
- pyproject = tmp_path / "pyproject.toml"
361
- pyproject .write_text ("[project]\n name = 'myproj'\n version='42'\n " )
362
- setuppy = tmp_path / "setup.py"
363
- setuppy .write_text ("__import__('setuptools').setup(include_package_data=False)" )
360
+ files = {
361
+ "pyproject.toml" : "[project]\n name = 'myproj'\n version='42'\n " ,
362
+ "setup.py" : "__import__('setuptools').setup(include_package_data=False)" ,
363
+ }
364
+ path_build (files , prefix = tmp_path )
364
365
365
366
with Path (tmp_path ):
366
367
dist = distutils .core .run_setup ("setup.py" , {}, stop_after = "config" )
You can’t perform that action at this time.
0 commit comments