[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Zipapp can't find sqlite db

Abdur-Rahmaan Janhangeer <arj.python at gmail.com> writes:
> I'm using zipapp to include a gui + db
> __main__.py
> dbs/
>     file.db
> When packaging, the db is there. When querying through sqlalchemy, it says
> can't open db file. Help appreciated!

I am unsure what you mean with "packaging". If you mean
"create a package for PyPI management", then data files
(unlike Python source code files) need special treatment.
In this case, read the documentation for your packageing tool.