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

Clean up temporary files. #44

Merged
merged 1 commit into from
Jul 28, 2020
Merged

Conversation

anntzer
Copy link
Contributor

@anntzer anntzer commented Jul 27, 2020

Remove rendered source after compilation (unless in non-quiet mode; this
could also be moved to a separate setting).

Move checksum to within compiled extension. This is (effectively) legal
for .so files:
https://stackoverflow.com/questions/10106447/does-appending-arbitrary-data-to-an-elf-file-violate-the-elf-spec
and from testing works on Windows too.

Fixes some of #31.

Copy link
Owner

@tbenthompson tbenthompson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks like a great solution to the problem of getting rid of the checksum files and rendered source. Looks great! Just a couple small changes and it'll be ready to go.

@tbenthompson
Copy link
Owner

Once this is merged, I'll push a new release to pypi.

Remove rendered source after compilation (unless in non-quiet mode; this
could also be moved to a separate setting).

Move checksum to within compiled extension.  This is (effectively) legal
for .so files:
https://stackoverflow.com/questions/10106447/does-appending-arbitrary-data-to-an-elf-file-violate-the-elf-spec
and from testing works on Windows too.
Copy link
Owner

@tbenthompson tbenthompson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good to go!

@tbenthompson tbenthompson merged commit ea68b0c into tbenthompson:stable Jul 28, 2020
@anntzer anntzer deleted the clean branch July 28, 2020 17:31
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.

2 participants