Packaging and Deployment
Part of the Python course
So far you have written Python that you (and only you) run by typing python something.py. This lesson is about the small, mostly-mechanical step that turns that script into a thing other people can install on their own machine and run as a real command. You will not be writing much new Python here, you will be learning the file layout, the one config file, and the two or three commands that make it all work.
Open the workspace. The editor opens on pyproject.toml and there is a src/ folder next to it. The full layout looks like this ...
Want to learn Python Packaging and Deployment in a real environment?
Click below, get a fresh Linux box with Python ready to go, and work through Packaging and Deployment hands-on with an AI tutor that knows your code.
Start this lessonPackaging and DeploymentWhat you'll learn
- Pyproject.toml
- Pip install -e
- Console scripts
- Building a wheel
- Publishing to PyPI
Read this lesson in your language
All lessons in this course
19 lessons- 1Hello, Python20 min
- 2Numbers and Strings25 min
- 3Asking the User a Question15 min
- 4Control Flow30 min
- 5Lists and Tuples30 min
- 6Dictionaries and Sets30 min
- 7Functions30 min
- 8Comprehensions25 min
- 9Files and IO30 min
- 10Modules and Packages30 min
- 11Classes and OOP35 min
- 12Inheritance and Composition30 min
- 13Exception Handling30 min
- 14Iterators and Generators30 min
- 15Decorators30 min
- 16Context Managers25 min
- 17Concurrency: Threads and Async40 min
- 18Testing with pytest35 min
- 19Packaging and Deployment35 min
