Tagged articles
setuptools
11 articles · Page 1 of 1
This tutorial explains why Python projects need packaging, introduces essential tools like setuptools, wheel, and twine, shows the recommended project layout, walks through creating a setup.py file, building distribution files, testing locally, uploading to PyPI, and handling version updates and common questions.
PyPITwinepackaging
0 likes · 8 min read

This article walks through creating the Mofish Python library, using Click to build a command‑line tool that shows days remaining to holidays, packaging it with setuptools, and publishing the package to PyPI for easy installation and use.
PyPIPythonclick
0 likes · 10 min read

PyPA, the Python Packaging Authority, oversees key tools such as pip, setuptools, packaging, wheel, virtualenv, twine, and build, each serving distinct roles in package installation, creation, distribution, and environment isolation, with pyproject.toml coordinating their interactions to streamline Python development workflows.
PyPAPythonpackaging
0 likes · 6 min read

This step‑by‑step guide shows how to structure a Python project, write a setup.py and README, add code and tests, build a source distribution, create a zip package, upload it to PyPI with Twine, and finally install the library using pip.
Pythondistributionpackaging
0 likes · 5 min read

This article explains how to use Setuptools to manage dependencies, package source code, and provide command-line tools, and demonstrates a step‑by‑step example of integrating Sphinx to automatically generate documentation and include it in a Python package build.
PythonSphinxbuild
0 likes · 4 min read

This article reviews the most useful additions to the Python standard library—Pathlib, Secrets, Zoneinfo, Dataclasses, proper logging, f‑strings, Tomllib and Setuptools—explaining why they replace older modules, showing concise code examples, and offering guidance on adopting them in everyday projects.
LoggingPythondataclasses
0 likes · 14 min read

This article provides a comprehensive overview of Python package management tools, explaining the roles and relationships of distutils, setuptools, distribute, easy_install, and pip, and includes practical examples and commands for installing and using these tools effectively.
distutilseasy_installpackage-management
0 likes · 6 min read

This article explains the evolution of Python packaging, compares legacy tools like distutils and setuptools with modern solutions such as Poetry, details how to create and configure pyproject.toml, setup.py, and requirements files, and provides practical guidance on building wheels, eggs, and publishing packages to PyPI.
PoetryPythondistribution
0 likes · 14 min read

This tutorial walks you through every essential step—from adding a license and organizing your project structure to writing tests, configuring CI, creating documentation, and finally releasing the package on PyPI or Conda—so you can share your Python library with the world.
CIopen-sourcepackaging
0 likes · 11 min read

This article explains the relationships and differences among Python's package management tools—including distutils, setuptools, distribute, easy_install, and pip—showing how to create packages with setup.py, install them, and choose the right tool for various scenarios.
distutilspackage managementpip
0 likes · 7 min read

This article explains the relationships among Python's package management tools—including distutils, setuptools, distribute, easy_install, and pip—provides practical examples, command references, and guidance on choosing the right tool for your projects.
distutilspackage-managementpip
0 likes · 7 min read
