Skip to content

Commit

Permalink
move build.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Tester authored and Tester committed Feb 1, 2024
1 parent 5ed9cad commit 22b5f7a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions curl_cffi/build.py → scripts/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@ def abs_machine():

if system == "Windows":
if machine == "x86_64":
libdir = "./lib32"
elif machine == "i686":
libdir = "./lib64"
elif machine == "i686":
libdir = "./lib32"
else:
libdir = "ERROR"
elif system == "Darwin":
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ def run(self):

setup(
# this option is only valid in setup.py
cffi_modules=["curl_cffi/build.py:ffibuilder"],
cffi_modules=["scripts/build.py:ffibuilder"],
cmdclass={
"bdist_wheel": bdist_wheel_abi3, # type: ignore
"build": my_build, # type: ignore
Expand Down

0 comments on commit 22b5f7a

Please sign in to comment.