Releases: zzampax/pyide
Releases · zzampax/pyide
Python Project Templater (PyIDE) v1.0.1
Fix error in which the project was not created successfully if no module was passed:
fn install_modules(project_name: &str, modules: Vec<String>) -> Result<(), Box<dyn Error>> {
if modules.is_empty() {
return Ok(());
}
let install_modules: ExitStatus = Command::new(format!("{}/.venv/bin/pip3", project_name))
.arg("install")
.args(&modules)
.spawn()?
.wait()?;
if !install_modules.success() {
return Err(Box::from("Failed to install modules"));
}
Ok(())
}
Python Project Templater (PyIDE) v1.0.0
Simple Working implementation that creates a new Python3 project with the following:
The newly created project will have version control (
git
), a virtual environment, a.gitignore
file in which the.venv
directory is flagged, and amain.py
file.
The newly created project can be opened in zed, pycharm and obviously vscode
See README.md
for more instructions.