mirror of
https://github.com/Z3Prover/z3
synced 2025-04-10 19:27:06 +00:00
conditionally depend on importlib_resources (#7116)
In python >= 3.9, it's available as part of the stdlib.
This commit is contained in:
parent
84d592c1f2
commit
199ef30e0c
|
@ -341,7 +341,7 @@ setup(
|
|||
license='MIT License',
|
||||
keywords=['z3', 'smt', 'sat', 'prover', 'theorem'],
|
||||
packages=['z3'],
|
||||
install_requires = ['importlib-resources'],
|
||||
install_requires = ["importlib-resources; python_version < '3.9'"],
|
||||
include_package_data=True,
|
||||
package_data={
|
||||
'z3': [os.path.join('lib', '*'), os.path.join('include', '*.h'), os.path.join('include', 'c++', '*.h')]
|
||||
|
|
Loading…
Reference in a new issue