neogeny / TatSu

竜 TatSu generates Python parsers from grammars in a variation of EBNF
https://tatsu.readthedocs.io/
Other
403 stars 48 forks source link

TatSu installs the 'test' directrory into the global python namespace #333

Closed yurivict closed 8 months ago

yurivict commented 8 months ago

This causes conflicts:

pkg-static: py39-TatSu-5.11.2 conflicts with py39-sphinx-argparse-0.4.0 (installs files into the same place).  Problematic file: /usr/local/lib/python3.9/site-packages/test/__init__.py
apalala commented 8 months ago

TatSu should not install test anywhere.

This issue is probably the product of a mistake during the migration to pyproject.toml.

A hint to what to fix or a pull request would be appreciated.

yurivict commented 8 months ago

Remove test here.

apalala commented 8 months ago

It seems that neither the grammar nor the examples directories should be part of the installation. They should only be part of source-code packages, which are controlled by MANIFEST.in for setuptools.