PrefixPaths#
PrefixPathType #
pyc_file
property
#
This is a file compiled from Python code when a noarch package was installed
unix_python_entrypoint
property
#
A Unix entry point python script (a
windows_python_entrypoint_exe
property
#
A Windows entry point python script (a
windows_python_entrypoint_script
property
#
A Windows entry point python script (a
__init__ #
from_py_path_type
classmethod
#
Construct Rattler PathType from FFI PyPathType object.
PrefixPaths #
PrefixPathsEntry #
Bases: BasePathLike
__init__ #
__init__(
relative_path,
path_type,
prefix_placeholder=None,
file_mode=None,
sha256=None,
sha256_in_prefix=None,
size_in_bytes=None,
original_path=None,
)
Create a new PrefixPathsEntry instance.
Parameters#
relative_path : os.PathLike[str] The relative path from the root of the package path_type : PrefixPathType Determines how to include the file when installing the package prefix_placeholder : Optional[str], optional The placeholder prefix used in the file, by default None file_mode : Optional[FileMode], optional The file mode of the path, by default None sha256 : Optional[bytes], optional The sha256 of the path, by default None sha256_in_prefix : Optional[bytes], optional The sha256 of the path in the prefix, by default None size_in_bytes : Optional[int], optional The size of the path in bytes, by default None original_path : Optional[os.PathLike[str]], optional The original path of the file, by default None