Skip to content
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

Conda #248

Closed
wants to merge 14 commits into from
Closed

Conda #248

wants to merge 14 commits into from

Conversation

mara004
Copy link
Member

@mara004 mara004 commented Aug 20, 2023

No description provided.

mara004 added 14 commits August 19, 2023 20:28
The idea is to turn the recipe into a template and dynamically inject
the version.

Usage: `conda build conda/`

However, I'm not sure how to handle the problem that conda always ties
arch-specific packages to a specific python version. This is discussed
in the recipe file.
- extract version from env var
- pass through $PDFIUM_BINARY as script env var
- don't pin ctypesgen
- add some comments
The recipe has changed fundamentally. I don't think a copyright claim
would be justifiable anymore.
There were some inaccuracies here - if V_PYPDFIUM2 is not in the yaml
file, then we also can't get it with load_data_file().

It remains to be seen how much yaml can do and how we would integrate
that into the API.

If it works out, then we may also be able to annotate the data/ cache in
a cleaner way instead of separate files for each conditional.
@mara004
Copy link
Member Author

mara004 commented Aug 21, 2023

Closing as per mindee/doctr#113 (comment)

@mara004 mara004 closed this Aug 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant