μHAL (v2.8.17)
Part of the IPbus software repository
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Functions | Variables
test_files Namespace Reference

Functions

def test_build_sdist (monkeypatch, tmpdir)
 
def test_build_global_dist (monkeypatch, tmpdir)
 
def tests_build_wheel (monkeypatch, tmpdir)
 
def tests_build_global_wheel (monkeypatch, tmpdir)
 
bytes read_tz_file (tarfile.TarFile tar, str name)
 
bytes normalize_line_endings (bytes value)
 

Variables

 DIR = os.path.abspath(os.path.dirname(__file__))
 
 MAIN_DIR = os.path.dirname(os.path.dirname(DIR))
 
dictionary main_headers
 
dictionary detail_headers
 
dictionary stl_headers
 
dictionary cmake_files
 
dictionary py_files
 
dictionary headers = main_headers | detail_headers | stl_headers
 
dictionary src_files = headers | cmake_files
 
dictionary all_files = src_files | py_files
 
dictionary sdist_files
 
dictionary local_sdist_files
 
string PKGCONFIG
 
dictionary eigen_headers
 
dictionary pkgconfig_files
 

Function Documentation

◆ normalize_line_endings()

bytes test_files.normalize_line_endings ( bytes  value)

Definition at line 133 of file test_files.py.

References len(), normalize_line_endings(), and read_tz_file().

Referenced by normalize_line_endings().

◆ read_tz_file()

bytes test_files.read_tz_file ( tarfile.TarFile  tar,
str  name 
)

Definition at line 125 of file test_files.py.

Referenced by normalize_line_endings().

◆ test_build_global_dist()

def test_files.test_build_global_dist (   monkeypatch,
  tmpdir 
)

Definition at line 171 of file test_files.py.

References hasattr().

◆ test_build_sdist()

def test_files.test_build_sdist (   monkeypatch,
  tmpdir 
)

Definition at line 107 of file test_files.py.

References hasattr().

◆ tests_build_global_wheel()

def test_files.tests_build_global_wheel (   monkeypatch,
  tmpdir 
)

Definition at line 253 of file test_files.py.

References len().

◆ tests_build_wheel()

def test_files.tests_build_wheel (   monkeypatch,
  tmpdir 
)

Definition at line 224 of file test_files.py.

Variable Documentation

◆ all_files

dictionary test_files.all_files = src_files | py_files

Definition at line 76 of file test_files.py.

◆ cmake_files

dictionary test_files.cmake_files
Initial value:
1= {
2 "share/cmake/pybind11/FindPythonLibsNew.cmake",
3 "share/cmake/pybind11/pybind11Common.cmake",
4 "share/cmake/pybind11/pybind11Config.cmake",
5 "share/cmake/pybind11/pybind11ConfigVersion.cmake",
6 "share/cmake/pybind11/pybind11NewTools.cmake",
7 "share/cmake/pybind11/pybind11Targets.cmake",
8 "share/cmake/pybind11/pybind11Tools.cmake",
9}

Definition at line 53 of file test_files.py.

◆ detail_headers

dictionary test_files.detail_headers
Initial value:
1= {
2 "include/pybind11/detail/class.h",
3 "include/pybind11/detail/common.h",
4 "include/pybind11/detail/descr.h",
5 "include/pybind11/detail/init.h",
6 "include/pybind11/detail/internals.h",
7 "include/pybind11/detail/type_caster_base.h",
8 "include/pybind11/detail/typeid.h",
9}

Definition at line 39 of file test_files.py.

◆ DIR

test_files.DIR = os.path.abspath(os.path.dirname(__file__))

Definition at line 13 of file test_files.py.

◆ eigen_headers

dictionary test_files.eigen_headers
Initial value:
1= {
2 "include/pybind11/eigen/matrix.h",
3 "include/pybind11/eigen/tensor.h",
4}

Definition at line 58 of file test_files.py.

◆ headers

dictionary test_files.headers = main_headers | detail_headers | stl_headers

Definition at line 74 of file test_files.py.

◆ local_sdist_files

dictionary test_files.local_sdist_files
Initial value:
1= {
2 ".egg-info",
3 ".egg-info/PKG-INFO",
4 ".egg-info/SOURCES.txt",
5 ".egg-info/dependency_links.txt",
6 ".egg-info/not-zip-safe",
7 ".egg-info/top_level.txt",
8}

Definition at line 97 of file test_files.py.

◆ MAIN_DIR

test_files.MAIN_DIR = os.path.dirname(os.path.dirname(DIR))

Definition at line 14 of file test_files.py.

◆ main_headers

dictionary test_files.main_headers
Initial value:
1= {
2 "include/pybind11/attr.h",
3 "include/pybind11/buffer_info.h",
4 "include/pybind11/cast.h",
5 "include/pybind11/chrono.h",
6 "include/pybind11/common.h",
7 "include/pybind11/complex.h",
8 "include/pybind11/eigen.h",
9 "include/pybind11/embed.h",
10 "include/pybind11/eval.h",
11 "include/pybind11/functional.h",
12 "include/pybind11/gil.h",
13 "include/pybind11/iostream.h",
14 "include/pybind11/numpy.h",
15 "include/pybind11/operators.h",
16 "include/pybind11/options.h",
17 "include/pybind11/pybind11.h",
18 "include/pybind11/pytypes.h",
19 "include/pybind11/stl.h",
20 "include/pybind11/stl_bind.h",
21}

Definition at line 17 of file test_files.py.

◆ PKGCONFIG

string test_files.PKGCONFIG
Initial value:
1= """\
2prefix=${{pcfiledir}}/../../
3includedir=${{prefix}}/include
4
5Name: pybind11
6Description: Seamless operability between C++11 and Python
7Version: {VERSION}
8Cflags: -I${{includedir}}
9"""

Definition at line 15 of file test_files.py.

◆ pkgconfig_files

dictionary test_files.pkgconfig_files
Initial value:
1= {
2 "share/pkgconfig/pybind11.pc",
3}

Definition at line 77 of file test_files.py.

◆ py_files

dictionary test_files.py_files
Initial value:
1= {
2 "__init__.py",
3 "__main__.py",
4 "_version.py",
5 "_version.pyi",
6 "commands.py",
7 "py.typed",
8 "setup_helpers.py",
9 "setup_helpers.pyi",
10}

Definition at line 63 of file test_files.py.

◆ sdist_files

dictionary test_files.sdist_files
Initial value:
1= {
2 "pybind11",
3 "pybind11/include",
4 "pybind11/include/pybind11",
5 "pybind11/include/pybind11/detail",
6 "pybind11/include/pybind11/stl",
7 "pybind11/share",
8 "pybind11/share/cmake",
9 "pybind11/share/cmake/pybind11",
10 "pyproject.toml",
11 "setup.cfg",
12 "setup.py",
13 "LICENSE",
14 "MANIFEST.in",
15 "README.rst",
16 "PKG-INFO",
17}

Definition at line 79 of file test_files.py.

◆ src_files

dictionary test_files.src_files = headers | cmake_files

Definition at line 75 of file test_files.py.

◆ stl_headers

dictionary test_files.stl_headers
Initial value:
1= {
2 "include/pybind11/stl/filesystem.h",
3}

Definition at line 49 of file test_files.py.