Skip to content
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

Local install fails to find templates #90

Open
clebio opened this issue Oct 30, 2020 · 0 comments
Open

Local install fails to find templates #90

clebio opened this issue Oct 30, 2020 · 0 comments

Comments

@clebio
Copy link
Collaborator

clebio commented Oct 30, 2020

I'd like to install blast-radius locally, in order to maybe contribute some updates back. However, when I clone and install it:

python setup.py install

Then go into a Terraform directory and run it:

$ blast-radius --serve .
 * Serving Flask app "blastradius.server.server" (lazy loading)
...
NotADirectoryError: [Errno 20] Not a directory: '/Users/caleb/dev/blast-radius/venv/lib/python3.8/site-packages/blastradius-0.1.25-py3.8.egg/blastradius/server/templates/index.html'

And yet… that template exists in the egg (zip) archive:

$ unzip -l /Users/caleb/dev/blast-radius/venv/lib/python3.8/site-packages/blastradius-0.1.25-py3.8.egg  | grep templates
      574  08-20-2018 06:48   blastradius/server/templates/error.html
     7613  06-25-2019 15:54   blastradius/server/templates/index.html
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant