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

Removed lexical comparison for version numbers and replaced with pkg_resources #76

Merged
merged 3 commits into from
Jan 27, 2016

Conversation

sas23
Copy link
Contributor

@sas23 sas23 commented Jan 27, 2016

Lexical comparison was causing incorrect behaviour. Fix implemented using pkg_resources.

pkg_resources module, in order to use parse_version for comparisons
@sas23 sas23 mentioned this pull request Jan 27, 2016
@gotcha
Copy link
Owner

gotcha commented Jan 27, 2016

Thanks !

Can you add the dependency on pkg_resources in setup.py?

@sas23
Copy link
Contributor Author

sas23 commented Jan 27, 2016

Apologies, I forgot to add that in.

The package required for pkg_resources is distributed with setuptools. Presumably this is OK?

@gotcha
Copy link
Owner

gotcha commented Jan 27, 2016

Right, you want to depend on setuptools.
It should go in install_requires, not in find_packages.

@sas23
Copy link
Contributor Author

sas23 commented Jan 27, 2016

My mistake, thanks.

gotcha added a commit that referenced this pull request Jan 27, 2016
Removed lexical comparison for version numbers and replaced with pkg_resources
@gotcha gotcha merged commit 5187608 into gotcha:master Jan 27, 2016
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