posy 0.0.1

[wip] Python installer and package manager
1
2
3
4
5
6
7
8
9
10
11
12
use crate::prelude::*;
use thiserror::Error;

#[derive(Error, Debug)]
pub enum PosyError {
    #[error("no compatible binaries found for {name} {version}")]
    NoCompatibleBinaries { name: String, version: Version },
    #[error("no compatible pybis found for requirement and platform")]
    NoPybiFound,
    #[error("remote file does not support range requests")]
    LazyRemoteFileNotSupported,
}