redc 0.1.0.dev2__tar.gz → 0.1.0.dev4__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- redc-0.1.0.dev4/.github/workflows/build_wheels.yml +39 -0
- {redc-0.1.0.dev2 → redc-0.1.0.dev4}/CMakeLists.txt +0 -1
- {redc-0.1.0.dev2 → redc-0.1.0.dev4}/PKG-INFO +1 -1
- {redc-0.1.0.dev2 → redc-0.1.0.dev4}/pyproject.toml +2 -2
- {redc-0.1.0.dev2 → redc-0.1.0.dev4}/redc/__init__.py +1 -1
- redc-0.1.0.dev2/wheelhouse/redc-0.1.0.dev2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl → redc-0.1.0.dev4/wheelhouse/redc-0.1.0.dev4-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl +0 -0
- redc-0.1.0.dev2/wheelhouse/redc-0.1.0.dev2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl → redc-0.1.0.dev4/wheelhouse/redc-0.1.0.dev4-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl +0 -0
- redc-0.1.0.dev2/wheelhouse/redc-0.1.0.dev2-cp312-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl → redc-0.1.0.dev4/wheelhouse/redc-0.1.0.dev4-cp312-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl +0 -0
- redc-0.1.0.dev2/wheelhouse/redc-0.1.0.dev2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl → redc-0.1.0.dev4/wheelhouse/redc-0.1.0.dev4-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl +0 -0
- redc-0.1.0.dev2/.github/workflows/build_wheels.yml +0 -30
- {redc-0.1.0.dev2 → redc-0.1.0.dev4}/.clang-format +0 -0
- {redc-0.1.0.dev2 → redc-0.1.0.dev4}/.gitignore +0 -0
- {redc-0.1.0.dev2 → redc-0.1.0.dev4}/CMake/PreventInSourceBuild.cmake +0 -0
- {redc-0.1.0.dev2 → redc-0.1.0.dev4}/LICENSE +0 -0
- {redc-0.1.0.dev2 → redc-0.1.0.dev4}/README.md +0 -0
- {redc-0.1.0.dev2 → redc-0.1.0.dev4}/assets/images/redc-logo.png +0 -0
- {redc-0.1.0.dev2 → redc-0.1.0.dev4}/redc/callback.py +0 -0
- {redc-0.1.0.dev2 → redc-0.1.0.dev4}/redc/callbacks.py +0 -0
- {redc-0.1.0.dev2 → redc-0.1.0.dev4}/redc/client.py +0 -0
- {redc-0.1.0.dev2 → redc-0.1.0.dev4}/redc/codes.py +0 -0
- {redc-0.1.0.dev2 → redc-0.1.0.dev4}/redc/exceptions/__init__.py +0 -0
- {redc-0.1.0.dev2 → redc-0.1.0.dev4}/redc/ext/redc.cpp +0 -0
- {redc-0.1.0.dev2 → redc-0.1.0.dev4}/redc/ext/redc.h +0 -0
- {redc-0.1.0.dev2 → redc-0.1.0.dev4}/redc/ext/utils/concurrentqueue.h +0 -0
- {redc-0.1.0.dev2 → redc-0.1.0.dev4}/redc/ext/utils/curl_utils.h +0 -0
- {redc-0.1.0.dev2 → redc-0.1.0.dev4}/redc/response.py +0 -0
- {redc-0.1.0.dev2 → redc-0.1.0.dev4}/redc/utils/__init__.py +0 -0
- {redc-0.1.0.dev2 → redc-0.1.0.dev4}/redc/utils/headers.py +0 -0
- {redc-0.1.0.dev2 → redc-0.1.0.dev4}/redc/utils/http.py +0 -0
- {redc-0.1.0.dev2 → redc-0.1.0.dev4}/redc/utils/json_encoder.py +0 -0
@@ -0,0 +1,39 @@
|
|
1
|
+
name: Build and Publish Wheels
|
2
|
+
on:
|
3
|
+
workflow_dispatch:
|
4
|
+
push:
|
5
|
+
branches:
|
6
|
+
- "main"
|
7
|
+
|
8
|
+
paths:
|
9
|
+
- "redc/__init__.py"
|
10
|
+
|
11
|
+
jobs:
|
12
|
+
build-and-publish:
|
13
|
+
runs-on: ubuntu-latest
|
14
|
+
permissions:
|
15
|
+
contents: read
|
16
|
+
id-token: write
|
17
|
+
|
18
|
+
steps:
|
19
|
+
- name: Checkout code
|
20
|
+
uses: actions/checkout@v3
|
21
|
+
|
22
|
+
- name: Set up Python
|
23
|
+
uses: actions/setup-python@v4
|
24
|
+
with:
|
25
|
+
python-version: '3.13.1'
|
26
|
+
|
27
|
+
- name: Install dependencies
|
28
|
+
run: |
|
29
|
+
python -m pip install --upgrade scikit-build-core nanobind build ninja cibuildwheel auditwheel
|
30
|
+
|
31
|
+
- name: Build wheels
|
32
|
+
run: |
|
33
|
+
python -m cibuildwheel .
|
34
|
+
python -m build --sdist
|
35
|
+
mv ./wheelhouse/*.whl dist/
|
36
|
+
ls dist/
|
37
|
+
|
38
|
+
- name: Publish to PyPI
|
39
|
+
uses: pypa/gh-action-pypi-publish@release/v1
|
@@ -42,7 +42,6 @@ if (NOT CMAKE_BUILD_TYPE AND NOT CMAKE_CONFIGURATION_TYPES)
|
|
42
42
|
set(CMAKE_BUILD_TYPE Release CACHE STRING "Choose the type of build." FORCE)
|
43
43
|
set_property(CACHE CMAKE_BUILD_TYPE PROPERTY STRINGS "Debug" "Release" "MinSizeRel" "RelWithDebInfo")
|
44
44
|
endif()
|
45
|
-
set(NB_TEST_STABLE_ABI ON)
|
46
45
|
|
47
46
|
nanobind_add_module(redc_ext STABLE_ABI LTO redc/ext/redc.cpp)
|
48
47
|
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: redc
|
3
|
-
Version: 0.1.0.
|
3
|
+
Version: 0.1.0.dev4
|
4
4
|
Summary: RedC is a high-performance, asynchronous HTTP client library for Python, built on top of the powerful curl library
|
5
5
|
Keywords: asyncio,http,client,http-client,curl,libcurl
|
6
6
|
Author-Email: AYMEN Mohammed <let.me.code.safe@gmail.com>
|
@@ -4,7 +4,7 @@ build-backend = "scikit_build_core.build"
|
|
4
4
|
|
5
5
|
[project]
|
6
6
|
name = "redc"
|
7
|
-
version = "0.1.0.
|
7
|
+
version = "0.1.0.dev4"
|
8
8
|
description = "RedC is a high-performance, asynchronous HTTP client library for Python, built on top of the powerful curl library"
|
9
9
|
readme = "README.md"
|
10
10
|
authors = [{ name = "AYMEN Mohammed", email = "let.me.code.safe@gmail.com" }]
|
@@ -27,5 +27,5 @@ skip = "*musllinux*"
|
|
27
27
|
archs = ["x86_64"]
|
28
28
|
|
29
29
|
[tool.cibuildwheel.linux]
|
30
|
-
before-all = "yum install wget gcc openssl-devel make libpsl-devel -y && wget https://curl.se/download/curl-8.11.1.tar.gz && tar -xzvf curl-8.11.1.tar.gz && rm curl-8.11.1.tar.gz && cd curl-8.11.1 && ./configure --with-openssl && make -j && make install && ldconfig && curl --version && cd .. && rm -rf curl-8.11.1"
|
30
|
+
before-all = "yum install wget gcc openssl-devel make libpsl-devel -y && wget https://curl.se/download/curl-8.11.1.tar.gz && tar -xzvf curl-8.11.1.tar.gz && rm curl-8.11.1.tar.gz && cd curl-8.11.1 && yum reinstall -y ca-certificates && ./configure --with-openssl && make -j && make install && ldconfig && curl --version && cd .. && rm -rf curl-8.11.1"
|
31
31
|
manylinux-x86_64-image = "manylinux2014"
|
@@ -1,30 +0,0 @@
|
|
1
|
-
name: Build Wheels
|
2
|
-
on:
|
3
|
-
workflow_dispatch:
|
4
|
-
|
5
|
-
jobs:
|
6
|
-
build_wheels:
|
7
|
-
runs-on: ubuntu-latest
|
8
|
-
permissions:
|
9
|
-
contents: read
|
10
|
-
id-token: write
|
11
|
-
|
12
|
-
steps:
|
13
|
-
- name: Checkout code
|
14
|
-
uses: actions/checkout@v3
|
15
|
-
|
16
|
-
- name: Set up Python
|
17
|
-
uses: actions/setup-python@v4
|
18
|
-
with:
|
19
|
-
python-version: '3.13.1'
|
20
|
-
|
21
|
-
- name: Install cibuildwheel
|
22
|
-
run: |
|
23
|
-
sudo python -m pip install --upgrade scikit-build-core nanobind build ninja cibuildwheel auditwheel
|
24
|
-
sudo python -m cibuildwheel .
|
25
|
-
sudo python -m build --sdist
|
26
|
-
sudo mv ./wheelhouse/*.whl dist/
|
27
|
-
ls *
|
28
|
-
|
29
|
-
- name: Upload to pypi
|
30
|
-
uses: pypa/gh-action-pypi-publish@release/v1
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|