libkeepass / pykeepass

Python library to interact with keepass databases (supports KDBX3 and KDBX4)
https://pypi.org/project/pykeepass/
GNU General Public License v3.0
403 stars 96 forks source link

Runtime dependency on pkg_resources module (from setuptools) is missing from pyproject.toml #390

Closed stephen-dexda closed 1 month ago

stephen-dexda commented 3 months ago

See https://github.com/libkeepass/pykeepass/blob/master/pykeepass/version.py

tandav commented 1 month ago

Same here - library not working:

pip install pykeepass
python
>>> from pykeepass import PyKeePass
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/Users/tandav/.cache/virtualenvs/tmp-fa63e4b506676ee/lib/python3.12/site-packages/pykeepass/__init__.py", line 4, in <module>
    from .version import __version__
  File "/Users/tandav/.cache/virtualenvs/tmp-fa63e4b506676ee/lib/python3.12/site-packages/pykeepass/version.py", line 4, in <module>
    import pkg_resources
ModuleNotFoundError: No module named 'pkg_resources'
Evidlo commented 1 month ago

Fixed in master. To be released in 4.1.0