File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 2
2
from configparser import ConfigParser
3
3
from inspect import cleandoc
4
4
5
+ import jaraco .path
5
6
import pytest
6
7
import tomli_w
7
8
from path import Path
8
- from jaraco .path import build as path_build
9
9
10
10
from setuptools .config .pyprojecttoml import (
11
11
read_configuration ,
@@ -108,7 +108,7 @@ def create_example(path, pkg_root):
108
108
# Use this opportunity to ensure namespaces are discovered
109
109
files [pkg_root ] = {** packages , "other" : {"nested" : {"__init__.py" : "" }}}
110
110
111
- path_build (files , prefix = path )
111
+ jaraco . path . build (files , prefix = path )
112
112
113
113
114
114
def verify_example (config , path , pkg_root ):
@@ -361,7 +361,7 @@ def test_include_package_data_in_setuppy(tmp_path):
361
361
"pyproject.toml" : "[project]\n name = 'myproj'\n version='42'\n " ,
362
362
"setup.py" : "__import__('setuptools').setup(include_package_data=False)" ,
363
363
}
364
- path_build (files , prefix = tmp_path )
364
+ jaraco . path . build (files , prefix = tmp_path )
365
365
366
366
with Path (tmp_path ):
367
367
dist = distutils .core .run_setup ("setup.py" , {}, stop_after = "config" )
You can’t perform that action at this time.
0 commit comments