Python Flutter Extension
Project description
Attacus :butterfly: :snake:
Flutter SDL Python
Required
Optional
Clone
git clone https://github.com/crungelab/attacus
cd attacus
Extra Steps
You need to download the Flutter engine binaries from: Custom-Flutter-Engine-Embedders
Extract to: [project-root]/binaries/flutter
Development
Tool Chain
Develop
hatch shell
procure
cxbuild develop
Release
cxbuild
Quick Start
git clone --recursive https://github.com/kfields/attacus
cd attacus
mkdir build
cd build
cmake ..
Or
mkdir build-debug
cd build-debug
cmake -DCMAKE_BUILD_TYPE=Debug ..
Wayland
sudo apt install libwayland-dev
sudo apt install libxkbcommon-dev
sudo add-apt-repository ppa:christianrauch/libdecoration
cmake -DATT_WM_WAYLAND=ON -DCMAKE_BUILD_TYPE=Debug ..
Glad
v1
glad --generator c --no-loader --out-path src
v2
glad --api gl:core --out-path src/glad c
Flutter Custom Devices
flutter channel master
flutter config --enable-custom-devices
flutter custom-devices
C:\Users\kurti\AppData\Roaming.flutter_custom_devices.json
{
"id": "attacus",
"label": "Attacus",
"sdkNameAndVersion": "Attacus 0.1",
"platform": null,
"enabled": true,
"ping": [
"ping",
"-n",
"1",
"-w",
"500",
"localhost"
],
"pingSuccessRegex": "[<=]\\d+ms",
"postBuild": null,
"install": [
"python",
"--version"
],
"uninstall": [
"python",
"--version"
],
"runDebug": [
"python",
"main.py"
],
"forwardPort": null,
"forwardPortSuccessRegex": null,
"screenshot": null
}
Flutter Embedder
Get the SHA of the Flutter engine you wish to use
cd flutter/bin/internal
cat engine.version
Flutter Examples
flutter build bundle
python main.py
or
flutter run
icudtl.dat
flutter\bin\cache\artifacts\engine\windows-x64\icudtl.dat
I'm manually copying this into the build directory. Not good. It needs to be copied over automatically
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
Close
Hashes for attacus-0.1.0-cp310-cp310-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c8382f0a5f77e3e4f4c5ca2a95c7d65a1baa611f5828a207c92968dc5812a5e6 |
|
MD5 | efc409c144408e10d1c3508beee62026 |
|
BLAKE2b-256 | 11938fe12bc0878d93126c5e7ee462d2b2c6ec3474ab795419d76ef2ef23c456 |