Publishing your Python project, the conda way
summary
Step‑by‑step demo shows creating a conda environment, writing a small Python package (dnd_roller) with tests, adding dependencies (nomoji, tabulate), and running 26 tests to verify behavior; Grayskull generates a conda recipe (uses grayskull to generate meta.yaml) and conda-build produces a local .tar.bz2 package that can be uploaded to a personal channel (uploads to anaconda.org); notes cover submitting to conda-forge (over 21,000 packages on conda-forge, ~3 billion downloads/year) and the fork‑and‑PR review workflow.
AI-written summary · about
chapters (17)
- 0:00Python packaging with conda
- 1:03Software packaging and conda basics
- 3:50Conda channels and package hosting
- 7:23Hands-on: DnD roller project
- 16:41Setting up the Python development environment
- 24:51Dice rolling functionality
- 36:55Testing dice module with pytest
- 51:07Emoji support with nomoji
- 1:00:21Verbose output for dice roller
- 1:04:00Multi-dice rolling with dice_roll
- 1:10:24Sequence_rolls for reports
- 1:20:26Testing random number generation
- 1:36:41Packaging with setup.py
- 1:59:11Building conda package with grayskull
- 2:16:07Publishing to conda-forge
- 2:21:31Conda ecosystem and community
- 2:37:30Q&A on dependency resolution
related talks
01h 14mPackaging and Deployment
37mEmbrace conda packages.
09mBuilding a Hermetic Python Environment with Conda in Bazel
37mAutomated deployment of Python packages for development
41mTaming the toxic python environment on your laptop
29mManaging GNU Radio Installations with Conda
31mFrom 0 to Continuous Delivery in 30 minutes.
23mGitHub Actions & Python
