overthesun / simoc

A scalable model of an interactive, off-world community
https://ngs.simoc.space/
GNU General Public License v3.0
2 stars 2 forks source link

`simoc.py` requires Jinja2 #172

Closed ezio-melotti closed 1 year ago

ezio-melotti commented 2 years ago

simoc.py tries to import generate_docker_configs.py: https://github.com/overthesun/simoc/blob/1f7852b609100f0e17b3f1e1c7e3befa8a5cbed8/simoc.py#L14

that in turn imports jinja2:

https://github.com/overthesun/simoc/blob/1f7852b609100f0e17b3f1e1c7e3befa8a5cbed8/generate_docker_configs.py#L4

If jinja2 is not installed, simoc.py won't run. generate_docker_configs.py should only be imported if/when needed.

ezio-melotti commented 1 year ago

Fixed in: