"""
Mix-in providing forward-compatibility for functionality as found in
distutils on Python 3.7.
Do not edit the code in this class except to update functionality
as implemented in distutils. Instead, override in the subclass.
"""
"""Add all the default files to self.filelist:
- README or README.txt
- setup.py
- test/test*.py
- all pure Python modules mentioned in setup script
- all files pointed by package_data (build_py)
- all files defined in data_files.
- all files defined as scripts.
- all C sources listed as part of extensions or C libraries
in the setup script (doesn't catch C headers!)
Warns if (README or README.txt) or setup.py are missing; everything
else is optional.
"""
"""
Case-sensitive path existence check
>>> sdist_add_defaults._cs_path_exists(__file__)
True
>>> sdist_add_defaults._cs_path_exists(__file__.upper())
False
"""
return False
# make absolute so we always have a directory
=
, =
return in
=
=
= False
= True
break
=
=
# build_py is used to get:
# - python modules
# - files defined in package_data
=
# getting python files
# getting package_data files
# (computed in build_py.data_files by build_py.finalize_options)
# getting distribution.data_files
# plain file
=
# a (dirname, filenames) tuple
, =
=
=
=
=
# disable the functionality already available upstream
# noqa
pass