Hotfix add htmlcov to flat layout package finder.default exclude#3836
Conversation
|
Thank you very much for the contribution @yukihiko-shinoda. I think we can queue the changes for the next release. Is it correct to assume that |
|
Hi @abravalheri , I searched official doc and GitHub code of latest version by keyword: I can't judge whether it make sense or not to keep it in
However, I tryed to remove
from setuptools.discovery import ConfigDiscovery
from setuptools.dist import Distribution
config_discovery = ConfigDiscovery(Distribution())
config_discovery()
print(config_discovery.dist.packages)
print(config_discovery.dist.py_modules)Results: $ python examplepackage/test.py
['examplepackage']
None |
It seems that it was previously added there by mistake. After some inspection ``htmlcov`` should be a folder (by default) and therefore can only be confused by a package (not a module)
|
Thank you very much @yukihiko-shinoda. I think it is safe to remove it from
I hope these changes are OK, please let me know if you disagree, otherwise I might add this to a release later this week or the next one. |
64e1f06 to
46db21a
Compare
Summary of changes
Added htmlcov to FlatLayoutPackageFinder.DEFAULT_EXCLUDE.
Closes #3594
#3715 still remains issue:
The command: `pip install --editable` still fails:
Integrated test succeed by using this branch:
The command: `pip install --editable` is fixed:
Pull Request Checklist
changelog.d/.(See documentation for details)