Hi there! I recently created my own lesson on Python packaging using the Carpentries Workbench, mostly as a way to gather all the info I'd gathered on the topic. I don't have any experience designing/delivering workshops, so the lesson may not be suitable for teaching in its current form. As both lessons cover a lot of the same material, I think it'd be a good idea for us to collaborate on a single lesson.
My lesson assumes that the students are familiar with writing single-file scripts, and demonstrates how to progress through the following stages:
- Convert single-file script to a reusable module of functions.
- Expand from a single module to a package.
- Build and install a package using
pip, setuptools, and pyproject.toml (no setup.py/setup.cfg).
- Versioning and publishing your code.
It also contains an optional lesson that covers the evolution of the 'standard' packaging methods, and so it explains why tutorials often offer conflicting information on Python packaging.
Would you like me to adapt some of that material for this lesson? I think my lesson mostly covers the same topics as episode 3, though it goes into a bit more detail. Please also let me know if there are any other ways I could contribute.
Hi there! I recently created my own lesson on Python packaging using the Carpentries Workbench, mostly as a way to gather all the info I'd gathered on the topic. I don't have any experience designing/delivering workshops, so the lesson may not be suitable for teaching in its current form. As both lessons cover a lot of the same material, I think it'd be a good idea for us to collaborate on a single lesson.
My lesson assumes that the students are familiar with writing single-file scripts, and demonstrates how to progress through the following stages:
pip,setuptools, andpyproject.toml(nosetup.py/setup.cfg).It also contains an optional lesson that covers the evolution of the 'standard' packaging methods, and so it explains why tutorials often offer conflicting information on Python packaging.
Would you like me to adapt some of that material for this lesson? I think my lesson mostly covers the same topics as episode 3, though it goes into a bit more detail. Please also let me know if there are any other ways I could contribute.