Recommended Approach for Updating `pyproject.toml` and `setuptools`

What will you learn? In this tutorial, you will master the recommended method for updating dependencies when utilizing pyproject.toml and setuptools. Introduction to the Problem and Solution Managing dependencies efficiently is pivotal when working on a Python project. The amalgamation of pyproject.toml for project metadata and configuration alongside setuptools for building, distribution, and installation is … Read more

How to Create an Executable from a Monorepo Poetry Subproject

What will you learn? Discover how to package a monorepo poetry subproject into an executable for streamlined distribution and deployment. Introduction to the Problem and Solution Managing multiple Python packages within a monorepo structure using Poetry can lead to complexities in distribution. By bundling these subprojects into a single executable, deployment becomes more straightforward. This … Read more

How to Prevent Generating *.egg File When Publishing Python Packages to TestPyPI/PyPI

What will you learn? In this tutorial, you will learn how to prevent the generation of .egg files when uploading Python packages to TestPyPI or PyPI. By making a simple adjustment in your packaging configuration, you can ensure cleaner and more compatible distributions without the presence of unnecessary .egg artifacts. Introduction to the Problem and … Read more

How to Install a Python Package Using setup.py in an Existing Environment

Friendly Introduction Welcome to our journey today, where we will delve into the process of installing a Python package using the setup.py file within your existing environment. Whether you are embarking on a new project or managing dependencies for your application, mastering this technique will prove to be highly beneficial. What You Will Learn By … Read more