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

Include envelopes.__version_info__ #20

Open
cool-RR opened this issue Jan 6, 2014 · 4 comments
Open

Include envelopes.__version_info__ #20

cool-RR opened this issue Jan 6, 2014 · 4 comments

Comments

@cool-RR
Copy link

cool-RR commented Jan 6, 2014

No description provided.

@cool-RR
Copy link
Author

cool-RR commented Jan 6, 2014

Sorry, you already have __version__, but it would be nice to add envelopes.__version_info__.

@funkyfuture
Copy link

what would be the difference between these two objects?

@cool-RR
Copy link
Author

cool-RR commented May 15, 2018

Haha, 4 years have passed :)

The difference is that envelopes.version_info will be an object like Python's sys.version_info that is easily accessible, unlike a string. i.e. you can get the major, minor versions and easily compare versions.

@funkyfuture
Copy link

yeah, sadly.

if you want to parse version strings, you can use semver. but a native implementation wouldn't be that hard.

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

No branches or pull requests

2 participants