-
Notifications
You must be signed in to change notification settings - Fork 87
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Where to generate env_vars.sh on the fly? #183
Comments
@madig there are two docker images, one for build (for manylinux1 running CentOS 5) and one for test runs (Ubuntu Trusty). If you generate the env_vars.sh file just before calling |
So you need to generate |
The OP has not responded to the suggestion, I hope they have solved the problem. I see the repo has moved to using cibuildwheel. Closing. |
I'm trying to build wheels for freetype-py. What's peculiar about the project is that it does not build an extension, but a plain .so/.dll/.dylib that is accessed through Python's FFI library if available, otherwise the system-provided library is accessed. The setup.py file is set up to look for the presence of the environment variable
FREETYPEPY_BUNDLE_FT
to decide whether to build an unbundled universal wheel or a bundled platform-specific one. Now, the env var needs to reach the container somehow in Linux (Windows and macOS build correctly), but of course only when I want to bundle a lib. See https://github.com/madig/freetype-py/blob/fix-ci-build/.travis.yml for what I'm doing.Generating an
env_vars.sh
inbefore_install
orscript
doesn't seem work... where to best do it? Or do you have a better idea?The text was updated successfully, but these errors were encountered: