-
-
Notifications
You must be signed in to change notification settings - Fork 608
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug] Paths not properly configured when packaged #559
Comments
Edit: I think it was just a versioning issue. Switching to the "old" version of issue #92 works fine. |
@jbohnslav, this is the doc for the app packaging. When 1.0.0 is out, the example in master will be the correct one to follow. |
I am having the same issue. I followed the working example and can confirm that I can run I tried the same in my own package, but Hydra is unable to find my default config file despite it being located in cp -r hydra/examples/advanced/hydra_app_example/ .
cd hydra_app_example Change the name of mv hydra_app/ foo_app/ Change the contents of
Throws an error:
So perhaps there is some unexpected behaviour when the package is not called |
hydra_app shows up in the MANIFEST (which tells the packager what files to put in the package) and in setup.py. |
🐛 Bug
I'm releasing my app as a pip package. I want users to be able to type "my_app" at the command line. I want this main script to take a Hydra configuration as input.
What works:
python -m my_app.gui.main
What doesn't work:
my_app
In my_app\gui\main:
In my setup.py:
** Stack trace/error message **
System information
Additional context
I tried to follow the formula outlined in this issue here
The text was updated successfully, but these errors were encountered: