Jump to content

Search Linkwarden


Recommended Posts

  • 1 month later...

The workflow includes 16MB of extras, including a full Python installation which is only compiled for ARM64, which won’t work for people on Intel Macs.


The better way to do it is to use /usr/bin/python3. To include a Python package with the workflow, use the --target option and set PYTHONPATH. StackOverflow has other options. Make sure to install with /usr/bin/python3 so packages are built with the system python.

Link to comment
  • 3 weeks later...
Posted (edited)

I did not intend to ship the 16MB of extras - that was my local venv! I didn't think that there is no such thing as .gitignore for alfred package exporting... Will have to remember to delete workflow/env before exporting in future!

l have used `--target` in the past for Alfred Workflows but due to encountering lots of issues with it. Many packages do not install successfully with it, such as requests. I have switched to just using a reproducible venv and a short bash scrupt which is far less prone to breakage.

Edited by def
Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...