Skip to content

Commit 393bf55

Browse files
committed
continue
1 parent 9c3d6a6 commit 393bf55

File tree

3 files changed

+8
-3
lines changed

3 files changed

+8
-3
lines changed

README.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,9 +183,15 @@ PDFIUM_PLATFORM="sourcebuild" python -m pip install -v .
183183
> [!TIP]
184184
> By default, the build scripts will create separate DLLs for vendored dependency libraries (e.g. `abseil`). However, if you want to bundle everything into a single DLL, pass `--single-lib`.
185185
186+
> [!NOTE]
187+
> The native sourcebuild currently supports Linux, or Linux-like platforms.
188+
> macOS and Windows are not handled, as we do not have access to these systems, and working over CI did not turn out feasible.
189+
> You need to use the toolchained build on these platforms for now.
190+
> Community help / pull requests to extend platform support would be appreciated.
191+
186192
##### cibuildwheel
187193

188-
The native sourcebuild can be run through cibuildwheel. For platforms configured in our [`pyproject.toml`](./pyproject.toml), the basic invocation is as simple as p.ex.
194+
The native sourcebuild can be run through cibuildwheel. For targets configured in our [`pyproject.toml`](./pyproject.toml), the basic invocation is as simple as p.ex.
189195
```bash
190196
CIBW_BUILD="cp311-manylinux_x86_64" cibuildwheel
191197
```

setupsrc/pypdfium2_setup/build_native.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,7 @@ def test(build_dir):
277277
def _get_clang_ver(clang_path):
278278
from packaging.version import Version
279279
output = run_cmd([str(clang_path/"bin"/"clang"), "--version"], capture=True, cwd=None)
280-
log(output) # XXX debug
280+
log(output)
281281
version = re.search(r"version ([\d\.]+)", output).group(1)
282282
version = Version(version).major
283283
log(f"Determined clang version {version!r}")

setupsrc/pypdfium2_setup/emplace.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
import argparse
99
import traceback
1010
from pathlib import Path
11-
from ast import literal_eval
1211
sys.path.insert(0, str(Path(__file__).parents[1]))
1312

1413
from pypdfium2_setup.base import *

0 commit comments

Comments
 (0)