> On 7 Dec 2019, at 10:07, dieter <die...@handshake.de> wrote:
>
> Abdur-Rahmaan Janhangeer <arj.pyt...@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.
zipapp is part of the python standard library.
The docs only talk about packaging pure python code, not data files.
Barry
--
https://mail.python.org/mailman/listinfo/python-list