You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have searched the issues of this repo and believe that this is not a duplicate.
If an exception occurs when executing a command, I executed it again in debug mode (-vvv option).
OS version and name: MacOS Monterey
Poetry version: 1.1.8
Issue
When the entire poetry project resides in a folder ignored by .gitignore, in this case tmp, poetry does not add any of the package folder. So given I have folder structure:
.gitignore
tmp
test_package
__init__.py
code.py
pyproject.toml -> (with the name of the project in the pyproject.toml being `test-package` or `test_package`)
Doing poetry build results in a build artifact that does not contain the test_package folder.
The expected behavior is for the test_package folder to be included, even if it is in tmp (a .gitignored) folder. The reason for building poetry packages in tmp folders is the following: dynamically pushing packages based on generated code.
The text was updated successfully, but these errors were encountered:
levilime
changed the title
Poetry does not build a package succesfully if the project resides within a tmp folder.
Poetry does not build a package succesfully if the project resides within a folder that is ignored by .gitignore.
Jul 18, 2022
-vvv
option).Issue
When the entire poetry project resides in a folder ignored by .gitignore, in this case
tmp
, poetry does not add any of the package folder. So given I have folder structure:Doing
poetry build
results in a build artifact that does not contain the test_package folder.The expected behavior is for the
test_package
folder to be included, even if it is intmp
(a .gitignored) folder. The reason for building poetry packages intmp
folders is the following: dynamically pushing packages based on generated code.The text was updated successfully, but these errors were encountered: