--- id: practical-python-9.5 source_exercise_id: "9.5" title: "Make a package" section: "9.3 Distribution" source_path: "09_Packages/03_Distribution.md" source_repo: "https://github.com/dabeaz-course/practical-python" source_commit: "93dca856b41c61a0a0f85ae334116e4c125629ea" student_visible_solution: false has_private_solution: true skip: false --- # Exercise 9.5: Make a package > Source: Practical Python Programming, `09_Packages/03_Distribution.md`. ### Exercise 9.5: Make a package Take the `porty-app/` code you created for Exercise 9.3 and see if you can recreate the steps described here. Specifically, add a `setup.py` file and a `MANIFEST.in` file to the top-level directory. Create a source distribution file by running `python setup.py sdist`. As a final step, see if you can install your package into a Python virtual environment. [Contents](../Contents.md) \| [Previous (9.2 Third Party Packages)](02_Third_party.md) \| [Next (The End)](TheEnd.md) ## 关联来源 - [[summaries/03_Distribution]]