Open edouardklein opened 8 years ago
egg
is not really a supported format in Python / Jinja anymore. Actually install the package, don't just put the egg in site-packages
. Generate the package as an sdist
or bdist_wheel
. Use pip
to install packages, not setup.py
directly.
Here is a minimal working example: file frmwe/init.py:
file setup.py:
When I run the file directly, i.e. by running
python3 frmwe/__init__.py
, everything runs as it should. When I install the programsudo python3 setup.py install
, a wrapper is created by setuptools in my $PATH, and when I call this program (frmwe
), I get the following error:We are trying to pinpoint the line where the template directory is erroneously set. We will report here if we find it.