In this Code Conversation, you’ve learned that packaging is about more than just publishing a project on PyPI. In fact, it can be helpful for your own personal projects. You had the world of packaging demystified and got to know the new, officially sanctioned way of setting up your Python projects using a pyproject.toml file and installing your package with pip. With this, you get the following benefits:
- Being able to call your project from anywhere
- Playing on the same team as the import system
- Allowing for consistent imports
- Having one file that’ll work for many build systems
Along the way, you:
- Structured files and folders in your project
- Understood different ways to run your script
- Explored how the import system works
- Explored the Python packaging world
- Wrote a
pyproject.tomlfile to configure your package - Installed your pacakge with
pip
Here are some further resources that you might find useful:
paulfwatts on Dec. 13, 2022
This is my first course as a paid subscriber.
I really enjoyed the conversational format and all the materials provided, plus the transcript, were excellent.
Nice to know there is a standard way to do this now!