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
# file: hatch_build.py
from my_project import *
...
But running hatch build -t custom gives ModuleNotFoundError: No module named 'my_project' so it doesn't look like the library got installed. I made an example repo (attached). It look like also that the build environment is named my-project-build?
I got a problem with making a custom build that needs the project to be installed for the build. Is this possible?
If the project makes library
my_project
then I needmy_project
library in myhatch_build.py
.I thought I would be able to configure
hatch-build
environmentand then have
hatch_build.py
likeBut running
hatch build -t custom
givesModuleNotFoundError: No module named 'my_project'
so it doesn't look like the library got installed. I made an example repo (attached). It look like also that the build environment is namedmy-project-build
?https://github.com/yonting/hatch-example
hatch-example-main.zip
The text was updated successfully, but these errors were encountered: