python_ffi_cpython 0.4.0 copy "python_ffi_cpython: ^0.4.0" to clipboard
python_ffi_cpython: ^0.4.0 copied to clipboard

unlisted

The macOS, Windows and Linux implementation of python_ffi, a Python-FFI for Dart.

python_ffi_cpython #

pub package

MacOS, Windows and Linux implementation of the python_ffi plugin. As such, this package is compatible with Flutter apps.

Development of this package #

Preparing the dylib for bundled distribution #

  1. On macOS, install pkg-config on your system: brew install pkg-config.
  2. Run dart run scripts/bin/scripts.dart cpython all to compile the Python dynamic library for the current platform. This creates a cpython folder in the root of this package with the compiled dynamic library (libpython<version>.dylib / libpython<version>.so).
  3. Copy the dynamic library to the macos, windows or linux folder, depending on the platform you're targeting.

Extra steps on macOS #

  1. Add the path to the dynamic library (inside the macos folder) to s.vendored_libraries in macos/python_ffi_cpython.podspec.
0
likes
0
points
42
downloads

Publisher

verified publisherivlivs.dev

Weekly Downloads

The macOS, Windows and Linux implementation of python_ffi, a Python-FFI for Dart.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

ffi, flutter, path, path_provider, plugin_platform_interface, python_ffi_cpython_dart, python_ffi_interface

More

Packages that depend on python_ffi_cpython