to-mc / checksumdir

Simple package to compute a single deterministic hash of the file contents of a directory.
MIT License
94 stars 28 forks source link

Replace pkg_resources #22

Open idahogray opened 3 years ago

idahogray commented 3 years ago

I am trying to package an app utilizing this library using PyOxidizer. PyOxidizer doesn't support pkg_resources per issue.

If you are interested in changing to something else, I would be willing to research it and submit a PR.

anentropic commented 3 days ago

it also means this library should have setuptools as a dependency in pyproject.toml

otherwise you get errors:

    from checksumdir import dirhash
  File "/home/circleci/project/.venv/lib/python3.11/site-packages/checksumdir/__init__.py", line 17, in <module>
    import pkg_resources
ModuleNotFoundError: No module named 'pkg_resources'