[−][src]Struct pyoxidizerlib::pyrepackager::dist::PythonDistributionInfo
Represents a parsed Python distribution.
Distribution info is typically derived from a tarball containing a Python install and its build artifacts.
Fields
base_dir: PathBuf
Directory where distribution lives in the filesystem.
flavor: String
Python distribution flavor.
version: String
Python version string.
os: String
Operating system this Python runs on.
arch: String
Architecture this Python runs on.
python_exe: PathBuf
Path to Python interpreter executable.
stdlib_path: PathBuf
Path to Python standard library.
licenses: Option<Vec<String>>
SPDX license shortnames that apply to this distribution.
Licenses only cover the core distribution. Licenses for libraries required by extensions are stored next to the extension's linking info.
license_path: Option<PathBuf>
Path to file holding license text for this distribution.
tcl_library_path: Option<PathBuf>
Path to Tcl library files.
objs_core: BTreeMap<PathBuf, PathBuf>
Object files providing the core Python implementation.
Keys are relative paths. Values are filesystem paths.
links_core: Vec<LibraryDepends>
Linking information for the core Python implementation.
extension_modules: BTreeMap<String, Vec<ExtensionModule>>
Extension modules available to this distribution.
frozen_c: Vec<u8>
includes: BTreeMap<String, PathBuf>
Include files for Python.
Keys are relative paths. Values are filesystem paths.
libraries: BTreeMap<String, PathBuf>
Static libraries available for linking.
Keys are library names, without the "lib" prefix or file extension. Values are filesystem paths where library is located.
py_modules: BTreeMap<String, PathBuf>
resources: BTreeMap<String, BTreeMap<String, PathBuf>>
Non-module Python resource files.
Keys are package names. Values are maps of resource name to data for the resource within that package.
license_infos: BTreeMap<String, Vec<LicenseInfo>>
Describes license info for things in this distribution.
Implementations
impl PythonDistributionInfo
[src]
pub fn as_minimal_info(&self) -> PythonDistributionMinimalInfo
[src]
pub fn ensure_pip(&self) -> PathBuf
[src]
Ensure pip is available to run in the distribution.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for PythonDistributionInfo
impl Send for PythonDistributionInfo
impl Sync for PythonDistributionInfo
impl Unpin for PythonDistributionInfo
impl UnwindSafe for PythonDistributionInfo
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> SendSyncUnwindSafe for T where
T: Send + Sync + UnwindSafe + ?Sized,
[src]
T: Send + Sync + UnwindSafe + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
U: TryFrom<T>,