extras_require: python-magic is preferred when libmagic is available

This commit is contained in:
Hans-Christoph Steiner 2024-12-05 18:13:32 +01:00
parent 46dba20ba3
commit 6d40e8fa27
No known key found for this signature in database
GPG key ID: 3E177817BA1B9BFA

View file

@ -116,8 +116,13 @@ setup(
# Some requires are only needed for very limited cases:
# * biplist is only used for parsing Apple .ipa files
# * pycountry is only for linting config/mirrors.yml
# * python-magic is preferred when libmagic is available, but its not in pypi.org
extras_require={
'optional': ['biplist', 'pycountry'],
'optional': [
'biplist',
'pycountry',
'python-magic',
],
'test': ['pyjks', 'html5print'],
'docs': [
'sphinx',