Migrate from flat to src layout #572
Labels
difficulty:easy
A simple task appropriate for newcomers to the codebase
smartbear-supported
This issue is supported by SmartBear
type:chore
Part of regular code upkeep
Have you read the Contributing Guidelines on issues?
Description
Change the directory structure such that the
pact/
directory containing all Python files is relocated tosrc/pact/
.Has this been requested on Canny?
No response
Motivation
The src layout helps prevent a number of issues during development. A discussion by Python's packaging group of the pros can be found at https://packaging.python.org/en/latest/discussions/src-layout-vs-flat-layout/.
Fundamentally, it prevents import pact from finding the local pact/ directory, and ensures that the package is installed correctly (typically as an editable installation).
Have you tried building it?
No response
Self-service
The text was updated successfully, but these errors were encountered: