PDM hatching unwanted 'eggs' #618
Unanswered
justasojourner
asked this question in
Q&A
Replies: 1 comment 1 reply
-
Hi all - just wanting to check, can I safely remove the unwanted package made from the project and to stop it happening again I just remove the name of the project in the |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi - I am not necessarily saying this is a bug — but it is unexpected behaviour. I note that this issue ticket
#253 (which is closed - so solved?) mentions the same thing.
The problem
I seem to be having Python egg folders created — [project_name].egg-info
I tracked it down to if the project name field in
pyproject.toml
is filled in:I noticed this after I added a package after I had named the project in the
pyproject.toml
file - which I thought would be a good thing to do.I tested it - made a new project (and explicitly said 'N' to is this a library)
Then filled in the project details, then when the very next package gets installed I see this:
delme % pdm add timeflake
Adding packages to default dependencies: timeflake
✔ 🔒 Lock successful
Changes are written to pdm.lock.
Changes are written to pyproject.toml.
Synchronizing working set with lock file: 1 to add, 0 to update, 0 to remove
✔ Install timeflake 0.4.0 successful
Installing the project as an editable package...
✔ Install Delme 0.0.0 successful
🎉 All complete!
I don't want/need the Python setuptools created egg-info directory:
pyproject.toml
?Beta Was this translation helpful? Give feedback.
All reactions