Closed buhtz closed 1 year ago
You may be able to infer the names from importlib.metadata.files('bitdemo')
. I was going to demo it on bitdemo, but that appears to be a private package. Here's an example with Setuptools:
~ $ pip-run setuptools -- -c "import importlib.metadata; print(set(str(file).partition('/')[0] for file in importlib.metadata.files('setuptools')))"
{'setuptools', 'distutils-precedence.pth', 'pkg_resources', 'setuptools-67.6.1.dist-info', '_distutils_hack'}
I have an Distribution Package named
bitdemo
.That package do contain two ImportPackages. How can I get their name?