From the course: Create an Open-Source Project in Python
Unlock the full course today
Join today to access over 24,400 courses taught by industry experts.
Starting a project - Python Tutorial
From the course: Create an Open-Source Project in Python
Starting a project
- [Instructor] So let's have a look at how to start a Poetry project from scratch. I type ls to show that I'm in an empty directory and then poetry --version to see that I already have poetry version 1.1.13 installed. Then I start a project with command poetry init, which starts the series of questions to set you up with the pyproject.toml configuration file. First of all, you are asked for the project name, Poetry suggests the name of your current directory, which in my case is os-in-python, but you can type in whatever name you like. I'm fine with the default name, so I press Enter. Next is the version of this project. Now, since poetry uses semantic versioning, it defaults to version 0.1.0, and again, you can set it to another version if necessary. In my case, I press Enter to use the default value suggested. Next, you ask for a short description, which is optional and can be leaved blank. Then you can set who the…