spacetelescope / wfc3tools

Python tools for HST WFC3 data calibration and analysis
https://wfc3tools.readthedocs.io/en/latest/
Other
6 stars 19 forks source link

Remove python 2 #48

Closed cshanahan1 closed 4 years ago

cshanahan1 commented 4 years ago

This should close #23.

cshanahan1 commented 4 years ago

@pllim I recently fixed that, but I guess I don't have it set up to rerun tests automatically, so I'll figure out how to get that set up.

I'm actually going to consolidate my changes into one PR and tag you, @nden, and @mdlpstsci for review. I will keep this open until I have that larger one open, then close this.

nden commented 4 years ago

@shannnnnyyy Can you rebase this PR on master to pick up p the correct Travis matrix.

nden commented 4 years ago

You may also want to add the following in the beginning of setup.py.

if sys.version_info < (3, 6):
    error = """
    Wfc3tools supports Python versions 3.6 and above.
    """
    sys.exit(error)

This will ensure the package will not be installed with Python 2.x

cshanahan1 commented 4 years ago

I'm closing this, will open new PR reflecting similar changes in the future.