Go to the source code of this file.
Classes | |
class | setup.SDist |
Namespaces | |
namespace | setup |
Functions | |
def | setup.build_expected_version_hex (matches) |
def | setup.get_and_replace (filename, binary=False, **opts) |
def | setup.TemporaryDirectory () |
def | setup.remove_output (*sources) |
Variables | |
setup.DIR = os.path.abspath(os.path.dirname(__file__)) | |
setup.VERSION_REGEX | |
setup.global_sdist = os.environ.get("PYBIND11_GLOBAL_SDIST", False) | |
string | setup.setup_py = "tools/setup_global.py.in" if global_sdist else "tools/setup_main.py.in" |
string | setup.extra_cmd = 'cmdclass["sdist"] = SDist\n' |
tuple | setup.to_src |
setup.code = compile(f.read(), "pybind11/_version.py", "exec") | |
dictionary | setup.loc = {} |
dictionary | setup.version = loc["__version__"] |
setup.encoding | |
setup.matches = dict(VERSION_REGEX.findall(f.read())) | |
string | setup.cpp_version = "{MAJOR}.{MINOR}.{PATCH}".format(**matches) |
string | setup.msg |
setup.version_hex = matches.get("HEX", "MISSING") | |
def | setup.expected_version_hex = build_expected_version_hex(matches) |
list | setup.cmd |
list | setup.fcommand |
setup.cmake_opts = dict(cwd=DIR, stdout=sys.stdout, stderr=sys.stderr) | |
def | setup.txt = get_and_replace(setup_py, version=version, extra_cmd=extra_cmd) |