Skip to content

Walter-Reactor/pyo3-venv

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pyo3-venv

A simple utility library for executing commands within a python venv

I found myself wanting to execute python tests via cargo test, thus this crate

Typical Usage

#[cfg(test)]
mod tests {
    use pyvenv::PyVEnv;

    #[test]
    fn run_pytest() -> Result<()> {
        PyVenv::new().maturin_develop()?.run_pytest()?
    }
}

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published