You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The libyaml-parser can be included in pip based installs by creating a new build configuration.
Make sure the libyaml library and development packages are installed on your system.
Assuming a Unix environment
Create a combined config file for default
# Get the current tarball of uwsgi or extract the build dir from pip
cd BUILD_DIR/buildconf
# Assuming default only inherits from base:
cat default.ini base.ini > PATH/default_wlibyaml.ini
Edit default_wlibyaml.ini:
Make sure there is only one [uwsgi] line
Remove inherit lines
Edit the yaml line to: yaml = libyaml
pip install
# If in virtualenv
source /PATH/TO/VENV/bin/activate
UWSGI_PROFILE=/FULL/PATH/TO/default_wlibyaml.ini pip install uwsgi --no-cache-dir -v
Verify
The verbose flag outputs the build messages and you can see a breakdown of the options in there.
You can also verify the dynamic libraries are linked in the binary:
# Also checking for jansson for JSON support
ldd `which uwsgi` | grep -E "yaml|janss"
I started to migrate our ini-file configs to yaml files. In our ini file we have multiple environment variables specified, i.e.
Now I am stuck, with the migration to enviroment variables to yaml. I tried the following possibilities, which do not work:
or
Any suggestions are very welcome :) And may be dock updates...
The text was updated successfully, but these errors were encountered: