Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge with distutils @ f3b225449 #4444

Merged
merged 103 commits into from
Jul 1, 2024
Merged
Show file tree
Hide file tree
Changes from 101 commits
Commits
Show all changes
103 commits
Select commit Hold shift + click to select a range
b42197c
Port code from CygwinCCompiler to UnixCCompiler
DWesl May 14, 2023
2ad8784
Add support for building extensions using MinGW compilers
naveen521kk Oct 4, 2022
e69a19e
Fix tests for `get_msvcr` function
naveen521kk Oct 8, 2022
571f761
Make `test_customize_compiler` run on mingw
naveen521kk Nov 17, 2022
9e707f0
CI: add msys2 mingw test
naveen521kk Nov 17, 2022
36a2941
Fix path separator issue in change_root function
naveen521kk Nov 8, 2023
c977026
test_install: fix an issue specific to mingw
naveen521kk Nov 8, 2023
79830a8
Remove testing dependency on jaraco.text
naveen521kk Nov 8, 2023
e4e1687
Add test for dll_libraries attribute in CygwinCCompiler class
naveen521kk Nov 9, 2023
bbe7b64
Add some tests for Mingw32CCompiler class
naveen521kk Nov 9, 2023
21482ac
Support PEP 625
di Mar 20, 2024
005ba4b
Expect to find canonicalize_* functions in packaging.
jaraco Apr 11, 2024
be32fec
Update tests to match new expectation.
jaraco Apr 11, 2024
2316432
Fix canonicalization
di Apr 11, 2024
d2de219
In test_sdist, provide a more complex name to capture canonicalizatio…
jaraco Apr 11, 2024
11e8f76
Add packaging as a vendored package.
jaraco Apr 11, 2024
96ce7aa
Use vendored packaging.
jaraco Apr 11, 2024
b81e1a5
Remove extra pairs of quotes from litteral strings
DimitriPapadopoulos Mar 10, 2024
b26678d
Revert the canonicalization of the version. Ref pypa/setuptools#3593.
jaraco Apr 13, 2024
c28f347
Revert "Update tests to match new expectation."
jaraco Apr 13, 2024
7ad4f2f
Pin against pytest 8.1.x due to pytest-dev/pytest#12194.
jaraco Apr 16, 2024
f4529af
Move project metadata to `pyproject.toml` (jaraco/skeleton#122)
Apr 16, 2024
744cf2a
Allow macos on Python 3.8 to fail as GitHub CI has dropped support.
jaraco Apr 24, 2024
bcf8f07
Move project.urls to appear in the order that ini2toml generates it. …
jaraco Apr 24, 2024
67aab15
Revert "Allow macos on Python 3.8 to fail as GitHub CI has dropped su…
jaraco May 2, 2024
a595a0f
Rename extras to align with core metadata spec.
jaraco May 31, 2024
c9729e1
Prefer "Source" to "Homepage" for the repository label.
jaraco Jun 21, 2024
491cd24
Merge pull request pypa/distutils#245 from DimitriPapadopoulos/FURB
jaraco Apr 13, 2024
713ad96
Add 'consolidate_linker_args' wrapper to protect the old behavior for…
jaraco Apr 13, 2024
71fb698
Exclude compat package from coverage.
jaraco Apr 13, 2024
9eaea6a
Add type declaration for runtime_library_dir_option, making explicit …
jaraco Apr 13, 2024
e74608b
Extend the retention of the compatibility.
jaraco Apr 13, 2024
b3406ca
Merge pull request pypa/distutils#247 from pypa/hotfix/246-linker-arg…
jaraco Apr 13, 2024
20a372e
Merge pull request pypa/distutils#239 from DimitriPapadopoulos/extra_…
jaraco Apr 14, 2024
d3165d0
👹 Feed the hobgoblins (delint).
jaraco Apr 14, 2024
1bf363b
Move compatibility modules into compat package.
jaraco Apr 14, 2024
6baafbc
Move compatibility module into compat package.
jaraco Apr 14, 2024
28d4a09
Fix return type to match implementation.
jaraco Apr 14, 2024
8a49e92
🧎‍♀️ Genuflect to the types.
jaraco Apr 14, 2024
d746fff
Oops. Meant 2025.
jaraco Apr 14, 2024
d8ccaf1
Migrated config to pyproject.toml using jaraco.develop.migrate-config…
jaraco Apr 18, 2024
bce1a22
Extract _make_executable for TestSpawn.
jaraco Apr 20, 2024
5d2a97e
Move and reword comment for brevity and clarity.
jaraco Apr 20, 2024
7babb5d
Remove C901 exclusion; code is now compliant.
jaraco Apr 21, 2024
2db5527
Remove apparently unnecessary cast to list.
jaraco Apr 21, 2024
671f913
Use proper boolean literals.
jaraco Apr 21, 2024
ffdb32d
Replace Popen with check_call.
jaraco Apr 21, 2024
a4a1f23
Extract function for _debug wrapper.
jaraco Apr 21, 2024
0bb8036
Extract function to inject macos version.
jaraco Apr 21, 2024
de48bf2
👹 Feed the hobgoblins (delint).
jaraco Apr 21, 2024
8980c8c
Merge https://github.com/jaraco/skeleton
jaraco Apr 24, 2024
213fae9
Use mkstemp unconditionally. mktemp has been deprecated since Python …
jaraco May 29, 2024
880d7b1
Merge https://github.com/jaraco/skeleton
jaraco Jun 19, 2024
b93a0ba
Pin to pytest<8.1.
jaraco Jun 19, 2024
6bf6b9e
Merge https://github.com/jaraco/skeleton
jaraco Jun 21, 2024
01e5f2d
Use a separate build directory for free-threading
brenns10 Jun 25, 2024
72b4407
Merge pull request pypa/distutils#260 from brenns10/main
jaraco Jun 26, 2024
314e3f1
Deprecate find_executable.
jaraco Apr 21, 2024
6909af1
Merge pull request pypa/distutils#250 from pypa/debt/remove-find-exec…
jaraco Jun 26, 2024
50763b6
Merge branch 'main' into feature/canonicalize-fullname
jaraco Jun 27, 2024
8ecebe2
Apply canonicalize_version with strip_trailing_zero=False.
jaraco Jun 27, 2024
c67b200
Merge pull request pypa/distutils#244 from pypa/feature/canonicalize-…
jaraco Jun 27, 2024
a68cac3
Apply ruff rule RUF100
DimitriPapadopoulos May 18, 2024
c3019f0
Merge branch 'main' into RUF100
jaraco Jun 27, 2024
df0502f
Move local ruff rules into a local section.
jaraco Jun 27, 2024
e79d244
Merge pull request pypa/distutils#254 from DimitriPapadopoulos/RUF100
jaraco Jun 27, 2024
54858be
Apply ruff rule RUF010
DimitriPapadopoulos May 18, 2024
3701d13
Enable ruff rule RUF010
DimitriPapadopoulos May 18, 2024
5b64ea3
Merge branch 'main' into RUF010
jaraco Jun 27, 2024
cb7f154
Merge pull request pypa/distutils#257 from DimitriPapadopoulos/RUF010
jaraco Jun 27, 2024
4cbdaff
Apply ruff/pyupgrade rule UP031
DimitriPapadopoulos May 18, 2024
8e000c1
Round of `ruff format` after `ruff check`
DimitriPapadopoulos May 18, 2024
8765761
Enable ruff/pyupgrade rules (UP)
DimitriPapadopoulos May 18, 2024
1072cbd
Merge branch 'main' into UP
jaraco Jun 27, 2024
b26d5e4
Use `set` instead of `True`-only `dict`
Avasam May 17, 2024
a4bdc72
Merge pull request pypa/distutils#256 from DimitriPapadopoulos/UP
jaraco Jun 27, 2024
a44f208
Merge pull request pypa/distutils#252 from Avasam/Use-set-instead-of-…
jaraco Jun 27, 2024
33b5afa
Use actual boolean parameters and variables
Avasam May 17, 2024
ef85c76
Merge branch 'main' into use-actual-booleans
jaraco Jun 27, 2024
affcf39
Apply ruff/flake8-implicit-str-concat rule ISC001
DimitriPapadopoulos May 18, 2024
7d12ab7
Apply ruff/flake8-implicit-str-concat rule ISC003
DimitriPapadopoulos May 18, 2024
5a590b8
Enable ruff/flake8-implicit-str-concat rules (ISC)
DimitriPapadopoulos May 18, 2024
9fd0e88
Merge branch 'main' into ISC
jaraco Jun 27, 2024
4208e32
Combine strings for clarity.
jaraco Jun 27, 2024
418589c
Merge pull request pypa/distutils#253 from Avasam/use-actual-booleans
jaraco Jun 27, 2024
066ef49
Merge branch 'main' into add-mingw-support
jaraco Jun 27, 2024
1c196fe
CI: run pytest without arguments to avoid stdlib distutils being impo…
lazka Jun 28, 2024
2317473
CI: explicitely CC/CXX for clang only mingw environments
lazka Jun 28, 2024
7a9818b
Merge pull request pypa/distutils#255 from DimitriPapadopoulos/ISC
jaraco Jun 27, 2024
2c86616
Extract method for checking macro definition.
jaraco Jun 27, 2024
62135e6
Extract method for _is_valid_macro.
jaraco Jun 27, 2024
dc7bfe4
Use brackets for the default value of option arguments
DimitriPapadopoulos Jun 27, 2024
b266061
Merge pull request pypa/distutils#184 from msys2-contrib/add-mingw-su…
jaraco Jun 28, 2024
4a742fc
Merge pull request pypa/distutils#262 from DimitriPapadopoulos/default
jaraco Jun 28, 2024
5491f80
Merge branch 'main' into patch-3
jaraco Jun 28, 2024
afc54f8
Remove unnecessary override to the same value.
jaraco Jun 28, 2024
131fae7
Suppress EncodingWarnings in docutils.
jaraco Jun 28, 2024
f3b2254
Merge pull request pypa/distutils#209 from DWesl/patch-3
jaraco Jun 28, 2024
0f6ed20
Merge with pypa/distutils@f3b225449
jaraco Jun 28, 2024
d5f60da
Replace use of deprecated find_executable with shutil.which.
jaraco Jun 28, 2024
259bfdb
Add news fragment
jaraco Jun 28, 2024
4e6d97d
Prefer relative imports for better portability.
jaraco Jul 1, 2024
343ac6f
Merge https://github.com/pypa/distutils into feature/distutils-f3b225449
jaraco Jul 1, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
46 changes: 23 additions & 23 deletions docs/deprecated/distutils/apiref.rst
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,7 @@ This module provides the following functions.
are not given.


.. function:: new_compiler(plat=None, compiler=None, verbose=0, dry_run=0, force=0)
.. function:: new_compiler(plat=None, compiler=None, verbose=False, dry_run=False, force=False)

Factory function to generate an instance of some CCompiler subclass for the
supplied platform/compiler combination. *plat* defaults to ``os.name`` (eg.
Expand All @@ -383,7 +383,7 @@ This module provides the following functions.
to :command:`build`, :command:`build_ext`, :command:`build_clib`).


.. class:: CCompiler([verbose=0, dry_run=0, force=0])
.. class:: CCompiler([verbose=False, dry_run=False, force=False])

The abstract base class :class:`CCompiler` defines the interface that must be
implemented by real compiler classes. The class also has some utility methods
Expand Down Expand Up @@ -517,7 +517,7 @@ This module provides the following functions.
list) to do the job.


.. method:: CCompiler.find_library_file(dirs, lib[, debug=0])
.. method:: CCompiler.find_library_file(dirs, lib[, debug=False])

Search the specified list of directories for a static or shared library file
*lib* and return the full path to that file. If *debug* is true, look for a
Expand Down Expand Up @@ -580,7 +580,7 @@ This module provides the following functions.
The following methods invoke stages in the build process.


.. method:: CCompiler.compile(sources[, output_dir=None, macros=None, include_dirs=None, debug=0, extra_preargs=None, extra_postargs=None, depends=None])
.. method:: CCompiler.compile(sources[, output_dir=None, macros=None, include_dirs=None, debug=False, extra_preargs=None, extra_postargs=None, depends=None])

Compile one or more source files. Generates object files (e.g. transforms a
:file:`.c` file to a :file:`.o` file.)
Expand Down Expand Up @@ -624,7 +624,7 @@ This module provides the following functions.
Raises :exc:`CompileError` on failure.


.. method:: CCompiler.create_static_lib(objects, output_libname[, output_dir=None, debug=0, target_lang=None])
.. method:: CCompiler.create_static_lib(objects, output_libname[, output_dir=None, debug=False, target_lang=None])

Link a bunch of stuff together to create a static library file. The "bunch of
stuff" consists of the list of object files supplied as *objects*, the extra
Expand All @@ -648,7 +648,7 @@ This module provides the following functions.
Raises :exc:`LibError` on failure.


.. method:: CCompiler.link(target_desc, objects, output_filename[, output_dir=None, libraries=None, library_dirs=None, runtime_library_dirs=None, export_symbols=None, debug=0, extra_preargs=None, extra_postargs=None, build_temp=None, target_lang=None])
.. method:: CCompiler.link(target_desc, objects, output_filename[, output_dir=None, libraries=None, library_dirs=None, runtime_library_dirs=None, export_symbols=None, debug=False, extra_preargs=None, extra_postargs=None, build_temp=None, target_lang=None])

Link a bunch of stuff together to create an executable or shared library file.

Expand Down Expand Up @@ -690,21 +690,21 @@ This module provides the following functions.
Raises :exc:`LinkError` on failure.


.. method:: CCompiler.link_executable(objects, output_progname[, output_dir=None, libraries=None, library_dirs=None, runtime_library_dirs=None, debug=0, extra_preargs=None, extra_postargs=None, target_lang=None])
.. method:: CCompiler.link_executable(objects, output_progname[, output_dir=None, libraries=None, library_dirs=None, runtime_library_dirs=None, debug=False, extra_preargs=None, extra_postargs=None, target_lang=None])

Link an executable. *output_progname* is the name of the file executable, while
*objects* are a list of object filenames to link in. Other arguments are as for
the :meth:`link` method.


.. method:: CCompiler.link_shared_lib(objects, output_libname[, output_dir=None, libraries=None, library_dirs=None, runtime_library_dirs=None, export_symbols=None, debug=0, extra_preargs=None, extra_postargs=None, build_temp=None, target_lang=None])
.. method:: CCompiler.link_shared_lib(objects, output_libname[, output_dir=None, libraries=None, library_dirs=None, runtime_library_dirs=None, export_symbols=None, debug=False, extra_preargs=None, extra_postargs=None, build_temp=None, target_lang=None])

Link a shared library. *output_libname* is the name of the output library,
while *objects* is a list of object filenames to link in. Other arguments are
as for the :meth:`link` method.


.. method:: CCompiler.link_shared_object(objects, output_filename[, output_dir=None, libraries=None, library_dirs=None, runtime_library_dirs=None, export_symbols=None, debug=0, extra_preargs=None, extra_postargs=None, build_temp=None, target_lang=None])
.. method:: CCompiler.link_shared_object(objects, output_filename[, output_dir=None, libraries=None, library_dirs=None, runtime_library_dirs=None, export_symbols=None, debug=False, extra_preargs=None, extra_postargs=None, build_temp=None, target_lang=None])

Link a shared object. *output_filename* is the name of the shared object that
will be created, while *objects* is a list of object filenames to link in.
Expand All @@ -726,28 +726,28 @@ This module provides the following functions.
use by the various concrete subclasses.


.. method:: CCompiler.executable_filename(basename[, strip_dir=0, output_dir=''])
.. method:: CCompiler.executable_filename(basename[, strip_dir=False, output_dir=''])

Returns the filename of the executable for the given *basename*. Typically for
non-Windows platforms this is the same as the basename, while Windows will get
a :file:`.exe` added.


.. method:: CCompiler.library_filename(libname[, lib_type='static', strip_dir=0, output_dir=''])
.. method:: CCompiler.library_filename(libname[, lib_type='static', strip_dir=False, output_dir=''])

Returns the filename for the given library name on the current platform. On Unix
a library with *lib_type* of ``'static'`` will typically be of the form
:file:`liblibname.a`, while a *lib_type* of ``'dynamic'`` will be of the form
:file:`liblibname.so`.


.. method:: CCompiler.object_filenames(source_filenames[, strip_dir=0, output_dir=''])
.. method:: CCompiler.object_filenames(source_filenames[, strip_dir=False, output_dir=''])

Returns the name of the object files for the given source files.
*source_filenames* should be a list of filenames.


.. method:: CCompiler.shared_object_filename(basename[, strip_dir=0, output_dir=''])
.. method:: CCompiler.shared_object_filename(basename[, strip_dir=False, output_dir=''])

Returns the name of a shared object file for the given file name *basename*.

Expand Down Expand Up @@ -884,7 +884,7 @@ This module provides a few functions for creating archive files, such as
tarballs or zipfiles.


.. function:: make_archive(base_name, format[, root_dir=None, base_dir=None, verbose=0, dry_run=0])
.. function:: make_archive(base_name, format[, root_dir=None, base_dir=None, verbose=False, dry_run=False])

Create an archive file (eg. ``zip`` or ``tar``). *base_name* is the name of
the file to create, minus any format-specific extension; *format* is the
Expand All @@ -900,7 +900,7 @@ tarballs or zipfiles.
Added support for the ``xztar`` format.


.. function:: make_tarball(base_name, base_dir[, compress='gzip', verbose=0, dry_run=0])
.. function:: make_tarball(base_name, base_dir[, compress='gzip', verbose=False, dry_run=False])

'Create an (optional compressed) archive as a tar file from all files in and
under *base_dir*. *compress* must be ``'gzip'`` (the default),
Expand All @@ -915,7 +915,7 @@ tarballs or zipfiles.
Added support for the ``xz`` compression.


.. function:: make_zipfile(base_name, base_dir[, verbose=0, dry_run=0])
.. function:: make_zipfile(base_name, base_dir[, verbose=False, dry_run=False])

Create a zip file from all files in and under *base_dir*. The output zip file
will be named *base_name* + :file:`.zip`. Uses either the :mod:`zipfile` Python
Expand Down Expand Up @@ -978,7 +978,7 @@ This module provides functions for operating on directories and trees of
directories.


.. function:: mkpath(name[, mode=0o777, verbose=0, dry_run=0])
.. function:: mkpath(name[, mode=0o777, verbose=False, dry_run=False])

Create a directory and any missing ancestor directories. If the directory
already exists (or if *name* is the empty string, which means the current
Expand All @@ -989,7 +989,7 @@ directories.
directories actually created.


.. function:: create_tree(base_dir, files[, mode=0o777, verbose=0, dry_run=0])
.. function:: create_tree(base_dir, files[, mode=0o777, verbose=False, dry_run=False])

Create all the empty directories under *base_dir* needed to put *files* there.
*base_dir* is just the name of a directory which doesn't necessarily exist
Expand All @@ -999,7 +999,7 @@ directories.
:func:`mkpath`.


.. function:: copy_tree(src, dst[, preserve_mode=1, preserve_times=1, preserve_symlinks=0, update=0, verbose=0, dry_run=0])
.. function:: copy_tree(src, dst[, preserve_mode=True, preserve_times=True, preserve_symlinks=False, update=False, verbose=False, dry_run=False])

Copy an entire directory tree *src* to a new location *dst*. Both *src* and
*dst* must be directory names. If *src* is not a directory, raise
Expand All @@ -1026,7 +1026,7 @@ directories.
.. versionchanged:: 3.3.1
NFS files are ignored.

.. function:: remove_tree(directory[, verbose=0, dry_run=0])
.. function:: remove_tree(directory[, verbose=False, dry_run=False])

Recursively remove *directory* and all files and directories underneath it. Any
errors are ignored (apart from being reported to ``sys.stdout`` if *verbose* is
Expand All @@ -1043,7 +1043,7 @@ directories.
This module contains some utility functions for operating on individual files.


.. function:: copy_file(src, dst[, preserve_mode=1, preserve_times=1, update=0, link=None, verbose=0, dry_run=0])
.. function:: copy_file(src, dst[, preserve_mode=True, preserve_times=True, update=False, link=None, verbose=False, dry_run=False])

Copy file *src* to *dst*. If *dst* is a directory, then *src* is copied there
with the same name; otherwise, it must be a filename. (If the file exists, it
Expand Down Expand Up @@ -1216,7 +1216,7 @@ other utility module.
.. % Should probably be moved into the standard library.


.. function:: execute(func, args[, msg=None, verbose=0, dry_run=0])
.. function:: execute(func, args[, msg=None, verbose=False, dry_run=False])

Perform some action that affects the outside world (for instance, writing to the
filesystem). Such actions are special because they are disabled by the
Expand All @@ -1234,7 +1234,7 @@ other utility module.
:exc:`ValueError` if *val* is anything else.


.. function:: byte_compile(py_files[, optimize=0, force=0, prefix=None, base_dir=None, verbose=1, dry_run=0, direct=None])
.. function:: byte_compile(py_files[, optimize=0, force=False, prefix=None, base_dir=None, verbose=True, dry_run=False, direct=None])

Byte-compile a collection of Python source files to :file:`.pyc` files in a
:file:`__pycache__` subdirectory (see :pep:`3147` and :pep:`488`).
Expand Down
2 changes: 1 addition & 1 deletion docs/deprecated/distutils/configfile.rst
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ configuration file for this distribution:
.. code-block:: ini

[build_ext]
inplace=1
inplace=true

This will affect all builds of this module distribution, whether or not you
explicitly specify :command:`build_ext`. If you include :file:`setup.cfg` in
Expand Down
2 changes: 1 addition & 1 deletion docs/deprecated/distutils/setupscript.rst
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ search path, though, you can find that directory using the Distutils
:mod:`distutils.sysconfig` module::

from distutils.sysconfig import get_python_inc
incdir = os.path.join(get_python_inc(plat_specific=1), 'Numerical')
incdir = os.path.join(get_python_inc(plat_specific=True), 'Numerical')
setup(...,
Extension(..., include_dirs=[incdir]),
)
Expand Down
1 change: 1 addition & 0 deletions newsfragments/4444.feature.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Updated distutils including significant changes to support Cygwin and mingw compilers.
4 changes: 2 additions & 2 deletions setuptools/_distutils/_modified.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
import os.path

from ._functools import splat
from .compat.py39 import zip_strict
from .errors import DistutilsFileError
from .py39compat import zip_strict


def _newer(source, target):
Expand All @@ -24,7 +24,7 @@ def newer(source, target):
Raises DistutilsFileError if 'source' does not exist.
"""
if not os.path.exists(source):
raise DistutilsFileError("file '%s' does not exist" % os.path.abspath(source))
raise DistutilsFileError(f"file '{os.path.abspath(source)}' does not exist")

return _newer(source, target)

Expand Down
10 changes: 5 additions & 5 deletions setuptools/_distutils/_msvccompiler.py
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ class MSVCCompiler(CCompiler):
static_lib_format = shared_lib_format = '%s%s'
exe_extension = '.exe'

def __init__(self, verbose=0, dry_run=0, force=0):
def __init__(self, verbose=False, dry_run=False, force=False):
super().__init__(verbose, dry_run, force)
# target platform (.plat_name is consistent with 'bdist')
self.plat_name = None
Expand Down Expand Up @@ -334,7 +334,7 @@ def compile( # noqa: C901
output_dir=None,
macros=None,
include_dirs=None,
debug=0,
debug=False,
extra_preargs=None,
extra_postargs=None,
depends=None,
Expand Down Expand Up @@ -423,7 +423,7 @@ def compile( # noqa: C901
return objects

def create_static_lib(
self, objects, output_libname, output_dir=None, debug=0, target_lang=None
self, objects, output_libname, output_dir=None, debug=False, target_lang=None
):
if not self.initialized:
self.initialize()
Expand Down Expand Up @@ -452,7 +452,7 @@ def link(
library_dirs=None,
runtime_library_dirs=None,
export_symbols=None,
debug=0,
debug=False,
extra_preargs=None,
extra_postargs=None,
build_temp=None,
Expand Down Expand Up @@ -551,7 +551,7 @@ def runtime_library_dir_option(self, dir):
def library_option(self, lib):
return self.library_filename(lib)

def find_library_file(self, dirs, lib, debug=0):
def find_library_file(self, dirs, lib, debug=False):
# Prefer a debugging library if found (and requested), but deal
# with it if we don't have one.
if debug:
Expand Down
Empty file.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
pip
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
This software is made available under the terms of *either* of the licenses
found in LICENSE.APACHE or LICENSE.BSD. Contributions to this software is made
under the terms of *both* these licenses.
Loading
Loading