mirror of
https://github.com/Z3Prover/z3
synced 2025-04-20 23:56:37 +00:00
include LICENSE.txt in wheels (#7614)
Update setup.py so that we copy LICENSE.TXT to src/api/python before creating the sdist. Any wheels built from this sdist will now contain the LICENSE.txt file. Fixes #7604
This commit is contained in:
parent
0b7a81b7c9
commit
14e2aadad0
|
@ -245,6 +245,7 @@ def _copy_sources():
|
|||
shutil.rmtree(SRC_DIR_LOCAL, ignore_errors=True)
|
||||
os.mkdir(SRC_DIR_LOCAL)
|
||||
|
||||
shutil.copy(os.path.join(SRC_DIR_REPO, 'LICENSE.txt'), ROOT_DIR)
|
||||
shutil.copy(os.path.join(SRC_DIR_REPO, 'LICENSE.txt'), SRC_DIR_LOCAL)
|
||||
shutil.copy(os.path.join(SRC_DIR_REPO, 'z3.pc.cmake.in'), SRC_DIR_LOCAL)
|
||||
shutil.copy(os.path.join(SRC_DIR_REPO, 'CMakeLists.txt'), SRC_DIR_LOCAL)
|
||||
|
|
Loading…
Reference in a new issue