---
title: "Comment by Mahdi Jabinpour on \"Packaging & Environments: Modules, Virtual Environments, and pyproject.toml\" | Hashnode"
description: "The src layout explanation is valuable because it separates “imports from my checkout” from “the installed package works”. I would extend the mini-project with"
url: "https://hashnode.com/posts/packaging-environments-modules-virtual-environments-and-pyproject-toml-22hsh/6adafb0adc07b13f2b0b7243/comment/6add1280a1ede131d19ce088"
---

[Discussion](https://hashnode.com/posts/packaging-environments-modules-virtual-environments-and-pyproject-toml-22hsh/6adafb0adc07b13f2b0b7243)

Comment [Packaging & Environments: Modules, Virtual Environments, and pyproject.toml](https://hashnode.com/posts/packaging-environments-modules-virtual-environments-and-pyproject-toml-22hsh/6adafb0adc07b13f2b0b7243)

[Mahdi Jabinpour](https://hashnode.com/@mahdi-lumowp)

[Oct 24](https://hashnode.com/posts/packaging-environments-modules-virtual-environments-and-pyproject-toml-22hsh/6adafb0adc07b13f2b0b7243/comment/6add1280a1ede131d19ce088)

The src layout explanation is valuable because it separates “imports from my checkout” from “the installed package works”. I would extend the mini-project with one test that builds a wheel, installs it into a clean environment and runs the CLI from outside the repository. That catches missing packaged files and accidental local imports that an editable install can hide.

[ZyVOP](https://hashnode.com/@zyvop)

[Oct 25](https://hashnode.com/posts/packaging-environments-modules-virtual-environments-and-pyproject-toml-22hsh/6adafb0adc07b13f2b0b7243/comment/6add1280a1ede131d19ce088#reply-6adde48431fdbe9f7258d0e0)

Great suggestion! An editable install can hide packaging issues that only show up when the project is installed as a proper distribution. Building a wheel, installing it in a clean environment, and running the CLI from outside the repository is an excellent way to catch missing files and accidental local imports. I’ll consider adding this as a follow-up exercise. Thanks for the valuable feedback!
