diff options
| author | J08nY | 2024-07-17 16:44:58 +0200 |
|---|---|---|
| committer | J08nY | 2024-07-17 16:44:58 +0200 |
| commit | fd61cf7b86f2b7c61de7794b616c80c23f0ca364 (patch) | |
| tree | 5fac4e3f630a43728d7f0248d0f81f116bf31f04 /setup.py | |
| parent | bccdd6404dfb2a1f87656f1a47bf242ac87c8825 (diff) | |
| download | pyecsca-codegen-fd61cf7b86f2b7c61de7794b616c80c23f0ca364.tar.gz pyecsca-codegen-fd61cf7b86f2b7c61de7794b616c80c23f0ca364.tar.zst pyecsca-codegen-fd61cf7b86f2b7c61de7794b616c80c23f0ca364.zip | |
Bump to 0.3.2.
Diffstat (limited to 'setup.py')
| -rw-r--r-- | setup.py | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -16,9 +16,8 @@ class CustomTommath(Command): def run(self) -> None: if self.build_lib: - subprocess.run(["make", "host", "nano", "stm32f0", "stm32f3"], cwd="ext") - tommath_dir = Path("pyecsca/codegen/tommath") - shutil.copytree(tommath_dir, self.build_lib / tommath_dir) + tommath_dir = Path("..") / self.build_lib / Path("pyecsca/codegen/tommath") + subprocess.run(["make", "host", "nano", "stm32f0", "stm32f3", f"TOMMATH_DIR={tommath_dir}"], cwd="ext") |
