Commit 5ce9e5f3 authored by Jason R. Coombs's avatar Jason R. Coombs

👹 Feed the hobgoblins (delint).

parent 313ac58f
...@@ -64,10 +64,10 @@ html_use_index = False ...@@ -64,10 +64,10 @@ html_use_index = False
# Grouping the document tree into LaTeX files. List of tuples # Grouping the document tree into LaTeX files. List of tuples
# (source start file, target name, title, author, # (source start file, target name, title, author,
# documentclass [howto/manual]). # documentclass [howto/manual]).
latex_documents = [ latex_documents = [(
('index', 'Setuptools.tex', 'Setuptools Documentation', 'index', 'Setuptools.tex', 'Setuptools Documentation',
'The fellowship of the packaging', 'manual'), 'The fellowship of the packaging', 'manual',
] )]
link_files = { link_files = {
'../CHANGES.rst': dict( '../CHANGES.rst': dict(
......
...@@ -68,7 +68,7 @@ class build_clib(orig.build_clib): ...@@ -68,7 +68,7 @@ class build_clib(orig.build_clib):
expected_objects = self.compiler.object_filenames( expected_objects = self.compiler.object_filenames(
sources, sources,
output_dir=self.build_temp output_dir=self.build_temp,
) )
if ( if (
......
...@@ -8,8 +8,7 @@ from setuptools.dist import Distribution ...@@ -8,8 +8,7 @@ from setuptools.dist import Distribution
class TestBuildCLib: class TestBuildCLib:
@mock.patch( @mock.patch(
'setuptools.command.build_clib.newer_pairwise_group' 'setuptools.command.build_clib.newer_pairwise_group')
)
def test_build_libraries(self, mock_newer): def test_build_libraries(self, mock_newer):
dist = Distribution() dist = Distribution()
cmd = build_clib(dist) cmd = build_clib(dist)
......
...@@ -629,7 +629,7 @@ class TestSetupRequires: ...@@ -629,7 +629,7 @@ class TestSetupRequires:
test_pkg = create_setup_requires_package( test_pkg = create_setup_requires_package(
temp_dir, setup_attrs=dict(version='attr: foobar.version'), temp_dir, setup_attrs=dict(version='attr: foobar.version'),
make_package=make_dependency_sdist, make_package=make_dependency_sdist,
use_setup_cfg=use_setup_cfg+('version',), use_setup_cfg=use_setup_cfg + ('version',),
) )
test_setup_py = os.path.join(test_pkg, 'setup.py') test_setup_py = os.path.join(test_pkg, 'setup.py')
with contexts.quiet() as (stdout, stderr): with contexts.quiet() as (stdout, stderr):
......
...@@ -125,7 +125,8 @@ def flatten_tree(tree): ...@@ -125,7 +125,8 @@ def flatten_tree(tree):
def format_install_tree(tree): def format_install_tree(tree):
return {x.format( return {
x.format(
py_version=PY_MAJOR, py_version=PY_MAJOR,
platform=get_platform(), platform=get_platform(),
shlib_ext=get_config_var('EXT_SUFFIX') or get_config_var('SO')) shlib_ext=get_config_var('EXT_SUFFIX') or get_config_var('SO'))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment