fabiommendes / python-boilerplate

Other
76 stars 24 forks source link

Not compatible with Python 2.7 #1

Open austinkeller opened 8 years ago

austinkeller commented 8 years ago

Hi, I just tried using your package with Python 2.7 and received an error when running due to the use of the "function annotations" python 3 feature. I'd recommend making Python 3 a requirement specified in setup.py or following the instructions here for backward compatibility: http://python-future.org/func_annotations.html Thanks, Austin

fabiommendes commented 8 years ago

Hi Austin,

Since until now I was the only user of python-boilerplate I was a bit lazy and never checked for python2 compatibility. I updated the source tree to fix many small problems with python2 and now it seems to be working. The new version is on pip and github. Please tell me if you find any issues.

Cheers, Fabio

austinkeller commented 8 years ago

Great! Thanks! I tried to add the python 2 compatibility myself yesterday but ran out of time. I work in a proteomics lab at University of Washington and we use python quite a bit for tools both internally and for the proteomics community. We're hoping to streamline the creation of python scripts as proper modules and packages. Your tool was the best I could find, and I appreciate you getting back to me quickly. I expect we'll continue to use your project.

Thanks again! -Austin

On Thu, Aug 25, 2016 at 4:03 PM Fábio Macêdo Mendes < notifications@github.com> wrote:

Hi Austin,

Since until now I was the only user of python-boilerplate I was a bit lazy and never checked for python2 compatibility. I updated the source tree to fix many small problems with python2 and now it seems to be working. The new version is on pip and github. Please tell me if you find any issues.

Cheers, Fabio

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/fabiommendes/python-boilerplate/issues/1#issuecomment-242572669, or mute the thread https://github.com/notifications/unsubscribe-auth/AE46S3OyWWbLBfH5n3aXSVwWojwARGHGks5qjh8qgaJpZM4JsZSb .

austinkeller commented 8 years ago

Need to resolve issue #4 before testing

fabiommendes commented 7 years ago

Austin, nice that you took interest on python-boilerplate. I also came from a scientific background myself (from physics and stochastic processes). I hope to add some features in the future to help with scientific python workflow. If you have any ideas I will be glad to hear!