1 Star 0 Fork 0

启晨网络/curl_cffi

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
setup.py 531 Bytes
一键复制 编辑 原始数据 按行查看 历史
deedy5 提交于 2024-03-17 18:25 . Reformat using linters (#269)
from setuptools import setup
from wheel.bdist_wheel import bdist_wheel
class bdist_wheel_abi3(bdist_wheel):
def get_tag(self):
python, abi, plat = super().get_tag()
if python.startswith("cp"):
# on CPython, our wheels are abi3 and compatible back to 3.8
return "cp38", "abi3", plat
return python, abi, plat
setup(
# this option is only valid in setup.py
cffi_modules=["scripts/build.py:ffibuilder"],
cmdclass={
"bdist_wheel": bdist_wheel_abi3,
},
)
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/guanzs/curl_cffi.git
[email protected]:guanzs/curl_cffi.git
guanzs
curl_cffi
curl_cffi
dependabot/github_actions/dot-github/workflows/actions/download-artifact-4.1.7

搜索帮助