Python
Updates 2026
Recent versions have changed a few things about the process shown in the video:
- In
setup.cfg- The line
include-package-data = Trueshould now beinclude_package_data = True(switch from dashes to underscores) - The line
License :: OSI Approved :: <MIT License>should be removed
- The line
Future versions of this activity will switch to purely using pyproject.toml instead of setup.cfg to manage this process, but for now we’ll keep the hybrid version shown in the video with these changes.
Outline
Here is a basic outline of the steps to follow to complete this example.
- Clone Starter Code from GitHub
git clone <url> python- Run Project
cd python
python3 -m src- Install Tox
pip3 install tox- Check & Test Existing Project
python3 -m tox-
Confirm that project runs and has no style errors.
-
See the textbook or video for steps to create a release.
-
When complete, use Git to commit and push updated code.
git add .
git commit -m "Example Complete"
git push- On GitHub, create a release tag and submit URL to Canvas for grading.