-
Notifications
You must be signed in to change notification settings - Fork 45
Convert package to high-level Python wrapper around C++ extension #119
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
Merged
Merged
Changes from all commits
Commits
Show all changes
22 commits
Select commit
Hold shift + click to select a range
234be2e
Add pure Python wrapper around C++ module
a-hurst 8090ce2
Update unit test organization to support new module setup
a-hurst 2e719f9
Revert minimum version change
a-hurst 56a1cda
Fix API autodocs
a-hurst b3e757c
Update C++ module name
a-hurst c7215e5
Modernize class definitions
a-hurst 202611c
Set VERSION using importlib
a-hurst 9993f2f
Move aggdraw.cxx into package dir
a-hurst 56fa49b
Use regex to get setup.py package version from __init__
a-hurst 73c3039
Move tests into package
a-hurst 53f7d81
Fix tests path for cibuildwheel
a-hurst 3ba3851
Add init module to tests to make it a subpkg
djhoese a0d9942
Use find_packages to define packages to include in build
djhoese b602ed4
Move cibuildwheel options to pyproject.toml for easier testing
djhoese ba88304
Raise exception if creating Dib on non-Windows platform
a-hurst 8962121
Packaging cleanup
a-hurst 3e03846
Don't test mode for Dib since apparently it can be reversed
a-hurst c929847
Remove tests for broken Dib class
a-hurst 9a3c4ce
Docstring fixes
a-hurst 4c431c2
Fix dead links
a-hurst 5753feb
Fix Font export and Draw.text docs
a-hurst cfa6edd
Fix regex definition in setup.py
djhoese File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,3 @@ | ||
| include aggdraw.cxx | ||
| include LICENSE.txt | ||
| recursive-include agg2 *.cpp | ||
| recursive-include agg2 *.h |
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,7 @@ | ||
| from .core import Draw, Pen, Brush, Path, Symbol, Font | ||
| from .dib import Dib | ||
|
|
||
| __all__ = ["Pen", "Brush", "Font", "Path", "Symbol", "Draw", "Dib"] | ||
|
|
||
| VERSION = "1.4.1" | ||
| __version__ = VERSION |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.