Skip to content

Commit

Permalink
Add config to build directory
Browse files Browse the repository at this point in the history
  • Loading branch information
tusharsadhwani committed Nov 20, 2023
1 parent c208584 commit ff6371d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions build.py
Original file line number Diff line number Diff line change
Expand Up @@ -238,6 +238,9 @@ def main() -> int:
with open(os.path.join(compiled_src_path, "__init__.py"), "w") as init_file:
init_file.write(contents)

# copy cibuildwheel config to build dir
shutil.copy("./cibw_config.toml", build_dir)

# setup.py contains the `pycompile` console script, present in `__init__.py`
with contextlib.chdir(build_dir):
setup_code = dedent(
Expand Down

0 comments on commit ff6371d

Please sign in to comment.