mirror of
https://github.com/Z3Prover/z3
synced 2025-06-06 06:03:23 +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
1 changed files with 1 additions and 1 deletions
|
@ -341,7 +341,7 @@ setup(
|
||||||
license='MIT License',
|
license='MIT License',
|
||||||
keywords=['z3', 'smt', 'sat', 'prover', 'theorem'],
|
keywords=['z3', 'smt', 'sat', 'prover', 'theorem'],
|
||||||
packages=['z3'],
|
packages=['z3'],
|
||||||
install_requires = ['importlib-resources'],
|
install_requires = ["importlib-resources; python_version < '3.9'"],
|
||||||
include_package_data=True,
|
include_package_data=True,
|
||||||
package_data={
|
package_data={
|
||||||
'z3': [os.path.join('lib', '*'), os.path.join('include', '*.h'), os.path.join('include', 'c++', '*.h')]
|
'z3': [os.path.join('lib', '*'), os.path.join('include', '*.h'), os.path.join('include', 'c++', '*.h')]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue