Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/David-OConnor/pyflow
Browse files Browse the repository at this point in the history
  • Loading branch information
David-OConnor committed Dec 20, 2019
2 parents b4d1fd6 + eb7fe31 commit ea47986
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -467,7 +467,7 @@ on the server to properly determine dependencies, due to unreliable information

## Python binary sources:
### [Repo binaries are downloaded from](https://github.com/David-OConnor/pybin/releases)
- Windows: [Python official Visual Studio package](https://www.nuget.org/packages/python/3.8.0-b4),
- Windows: [Python official Visual Studio package](https://www.nuget.org/packages/python),
by Steve Dower.
- Newer linux distros: Built on Ubuntu 18.04, using standard procedures.
- Older linux distros: Built on CentOS 7, using standard procedures.
Expand Down
4 changes: 2 additions & 2 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -576,8 +576,8 @@ impl Config {
/// Create a template directory for a python project.
pub fn new(name: &str) -> Result<(), Box<dyn Error>> {
if !PathBuf::from(name).exists() {
fs::create_dir_all(&format!("{}/{}", name, name))?;
fs::File::create(&format!("{}/{}/__init__.py", name, name))?;
fs::create_dir_all(&format!("{}/{}", name, name.replace("-", "_")))?;
fs::File::create(&format!("{}/{}/__init__.py", name, name.replace("-", "_")))?;
fs::File::create(&format!("{}/README.md", name))?;
fs::File::create(&format!("{}/LICENSE", name))?;
fs::File::create(&format!("{}/.gitignore", name))?;
Expand Down

0 comments on commit ea47986

Please sign in to comment.