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

Remove argparse in install_requires #56

Open
davedash opened this issue Feb 19, 2013 · 0 comments
Open

Remove argparse in install_requires #56

davedash opened this issue Feb 19, 2013 · 0 comments

Comments

@davedash
Copy link

https://github.com/sivy/py-statsd/blob/master/setup.py#L17

Seems unnecessary since this is part of python since 2.7+

If you need to maintain backwards compatibility, can there be a check for python version?

It causes some annoying issues in Ubuntu:

/usr/local/lib/python2.7/dist-packages/pytz/init.py:35: UserWarning: Module argparse was already imported from /usr/lib/python2.7/argparse.pyc, but /usr/local/lib/python2.7/dist-packages is being added to sys.path
from pkg_resources import resource_stream

When using other packages that import argparse.

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

No branches or pull requests

1 participant