markdrago / pgsanity

Check syntax of postgresql sql files
MIT License
316 stars 28 forks source link

Python 2.6 support #2

Closed ghost closed 8 years ago

ghost commented 12 years ago

I'm going to look into how much of argparse I'd need to pull in to make this work on python 2.6.

markdrago commented 12 years ago

Awesome. It probably makes sense to just add 'argparse >= 1.2.1' to the (not yet present) install_requires parameter in setup.py. That way it will get pulled in at install time if it isn't installed yet.

markdrago commented 12 years ago

My only concern with adding 'argparse >= 1.2.1' as a requirement for pgsanity is that the module does not need to be installed if the system already has python 2.7. I'm not sure how pip/easy_install handle that situation.