adrn / schwimmbad

A common interface to processing pools.
MIT License
115 stars 18 forks source link

fix installation when six is not installed yet #22

Closed uweschmitt closed 5 years ago

uweschmitt commented 5 years ago

PLEASE DELETE MY PREVIOUS PULL REQUEST WITH SAME NAME.

Version is now set in setup.py and not in __init__.py, thus import schwimmbad is not required in setup.py anymore.

Old behaviour could break, because import schwimmbad in setup.py triggered import six which might not be installed at this point of time.

coveralls commented 5 years ago

Coverage Status

Coverage remained the same at ?% when pulling 4a995b834d6c9cc6839983da68d43d347e1f3b53 on uweschmitt:fix_install into d2538b77c821a56096f92eafecd1c08dd02f1f58 on adrn:master.

adrn commented 5 years ago

Thanks. I'll remove Python 2 support at some point this year, so six should become irrelevant, but this looks fine!