argparse is available in the stdlib in all non-ancient Python versions (2.7+), and installing it is pointless because the stdlib copy always takes precedence. The name conflict, however, causes problems in some edge cases and makes installing packages depending on TransitLeastSquares impossible.
This patch adds an environment marker, so the library is only pulled in when argparse is not present.
Thank you for your contribution to TLS.
Before submitting this PR, please make sure:
[x] Your code builds clean without any errors or warnings
argparse
is available in the stdlib in all non-ancient Python versions (2.7+), and installing it is pointless because the stdlib copy always takes precedence. The name conflict, however, causes problems in some edge cases and makes installing packages depending on TransitLeastSquares impossible.This patch adds an environment marker, so the library is only pulled in when
argparse
is not present.Thank you for your contribution to TLS. Before submitting this PR, please make sure: