PythonModuleSource
¶
-
class
starlark_pyoxidizer.
PythonModuleSource
¶ This type represents Python source modules, agnostic of location.
Instances can be constructed via
PythonExecutable.make_python_module_source()
or by calling methods that emit Python resources.-
name
¶ (
string
)Fully qualified name of the module. e.g.
foo.bar
.
-
source
¶ (
string
)The Python source code for this module.
-
is_package
¶ (
bool
)Whether this module is also a Python package (or sub-package).
-
is_stdlib
¶ (
bool
)Whether this module is part of the Python standard library (part of the Python distribution).
-
add_*
(various)
-