Skip to content

Update setup.py to add jinja as dependency for tiptapy  #70

@Pradhvan

Description

@Pradhvan

Problem

If the virtual env does not have jinja installed tiptapy throws a dependency error for jinja.

python -m pip install tiptapy
  • Traceback
import titapy
Traceback (most recent call last):
 File "<stdin>", line 1, in <module>
ModuleNotFoundError: No module named 'titapy'
>>> import titapy
Traceback (most recent call last):
 File "<stdin>", line 1, in <module>
ModuleNotFoundError: No module named 'titapy'
>>> import tiptapy
Traceback (most recent call last):
 File "<stdin>", line 1, in <module>
 File "/Users/glados/workspace/tiptapy/tiptapy/__init__.py", line 5, in <module>
  from jinja2 import FileSystemLoader, Environment, select_autoescape
ModuleNotFoundError: No module named 'jinja2'

Possbible solution

  • jinja can be added as a dependency for tiptapy in setup.py

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions