Skip to content

Add git version info to frozen modules. #499

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 3 commits into from
Dec 24, 2017

Conversation

dhalbert
Copy link
Collaborator

Fill in __version__ when freezing modules. This mimics __version__ processing done when building library bundles.

Added https://github.com/k-bx/python-semver as a submodule, so it doesn't have to be installed by hand.

Pulled all frozen module preprocessing into a single Python script, including the above, and also removing examples/ and conf.py and setup.py

@dhalbert dhalbert requested a review from tannewt December 24, 2017 04:51
Copy link
Member

@tannewt tannewt left a comment

Choose a reason for hiding this comment

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

Looks good! Thanks!

@tannewt
Copy link
Member

tannewt commented Dec 24, 2017

Looks like the CPX build failed on travis due to exist_ok not existing.

@dhalbert
Copy link
Collaborator Author

dhalbert commented Dec 24, 2017

I got pre-built Python 3.4 for testing from this PPA: ppa:deadsnakes/ppa :)

@dhalbert dhalbert merged commit 94e645d into adafruit:2.x Dec 24, 2017
@dhalbert dhalbert deleted the 2.x_frozen_module_version_info branch January 5, 2018 22:27
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