Closed flying-sheep closed 2 years ago
Your package installs a top level module called “tests” in addition to the clang module.
clang
The problem is that tests contains an __init__.py and is therefore identified as package by this line:
tests
__init__.py
https://github.com/sighingnow/libclang/blob/fb8656ea54f02f7676091b906402ebd49f9ea823/setup.py#L96
Please take steps to exclude it, thanks.
https://setuptools.pypa.io/en/latest/userguide/package_discovery.html#using-find-or-find-packages
Thanks! I haven't noticed that yet. Will repack now.
thank you!
I have uploaded a new version to pypi, can be upgraded via
pip3 install -U libclang -i https://pypi.org/simple
Your package installs a top level module called “tests” in addition to the
clang
module.The problem is that
tests
contains an__init__.py
and is therefore identified as package by this line:https://github.com/sighingnow/libclang/blob/fb8656ea54f02f7676091b906402ebd49f9ea823/setup.py#L96
Please take steps to exclude it, thanks.
https://setuptools.pypa.io/en/latest/userguide/package_discovery.html#using-find-or-find-packages