setup.py: fix setuptools warning about data files (#86510)
gitea/ldaptools/pipeline/head There was a failure building this commit
Details
gitea/ldaptools/pipeline/head There was a failure building this commit
Details
############################ # Package would be ignored # ############################ Python recognizes 'Bio.Entrez.XSDs' as an importable package, but it is not listed in the `packages` configuration of setuptools. 'Bio.Entrez.XSDs' has been automatically added to the distribution only because it may contain data files, but this behavior is likely to change in future versions of setuptools (and therefore is considered deprecated). Please make sure that 'Bio.Entrez.XSDs' is included as a package by using the `packages` configuration field or the proper discovery methods (for example by using `find_namespace_packages(...)`/`find_namespace:` instead of `find_packages(...)`/`find:`). You can read more about "package discovery" and "data files" on setuptools documentation page.
This commit is contained in:
parent
491fd26df5
commit
8f214a6e87
6
setup.py
6
setup.py
|
@ -62,9 +62,9 @@ setup(
|
|||
author_email='authentic@listes.entrouvert.com',
|
||||
maintainer='Benjamin Dauvergne',
|
||||
maintainer_email='bdauvergne@entrouvert.com',
|
||||
packages=find_packages('src'),
|
||||
package_dir={'': 'src'},
|
||||
include_package_data=True,
|
||||
packages=['ldaptools'],
|
||||
package_dir={'ldaptools': 'src/ldaptools'},
|
||||
package_data={'ldaptools': ['schemas/*.ldif']},
|
||||
install_requires=['python-ldap>2', 'six'],
|
||||
entry_points={
|
||||
'console_scripts': ['ldapsync=ldaptools.ldapsync.cmd:main'],
|
||||
|
|
Loading…
Reference in New Issue