Run a specific block of code #1037
Unanswered
eplatero97
asked this question in
Q&A
Replies: 1 comment
-
Can you please explain exactly what you're trying to do and at what point it should happen? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
First, thank you for this great backend to build environments. It makes my and user life better with all the customizations.
however, I have not found a way to specify hatch to execute a specific block of python code. This python file just reads variables from a config file and sets them as environment variables.
At first I was thinking of some way to tell the “pyproject.toml” to execute a specific python file that does this.
Then , since I did not find an answer, I was thinking of using a CustomBuildHook where I could implement the code.
I have not found a solution either way.
Do you guys know of a solution to this?
Thanks in advance
Beta Was this translation helpful? Give feedback.
All reactions