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

Packaging utils #18

Merged
merged 3 commits into from
Sep 7, 2023
Merged

Packaging utils #18

merged 3 commits into from
Sep 7, 2023

Conversation

percevalw
Copy link
Member

@percevalw percevalw commented Sep 1, 2023

Description

New packaging utility to allow:

pipeline = edspdf.Pipeline()
pipeline.add_pipe(...)
# or
pipeline = train()

and to package

pipeline.package("my-model")

to generate the .tar.gz / .whl dist files, adding dependencies, while using the existing pyproject.toml if any.

Checklist

  • If this PR is a bug fix, the bug is documented in the test suite.
  • Changes were documented in the changelog (pending section).
  • If necessary, changes were made to the documentation.

@codecov
Copy link

codecov bot commented Sep 1, 2023

Codecov Report

Patch coverage is 98.94% of modified lines.

Files Changed Coverage
edspdf/utils/package.py 98.90%
edspdf/pipeline.py 100.00%

📢 Thoughts on this report? Let us know!.

@percevalw percevalw force-pushed the packaging branch 8 times, most recently from c3a4866 to d7c1b5a Compare September 2, 2023 15:24
@percevalw percevalw merged commit 4c751bc into main Sep 7, 2023
12 checks passed
@percevalw percevalw deleted the packaging branch September 7, 2023 09:12
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