markdrago / pgsanity

Check syntax of postgresql sql files

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Python 2.6 support

opened this issue · comments

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

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.

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.