astropy / package-template

Template for packages that use Astropy. Maintainer: @astrofrog
http://docs.astropy.org/projects/package-template/en/latest/
Other
60 stars 63 forks source link

_astropy_init.py is not python3 only #383

Closed bsipocz closed 4 years ago

bsipocz commented 5 years ago

even when python2.7 is not supported.

Shall we have two version of the file, or messing with the content with some templating?

@Cadair @astrofrog @pllim

pllim commented 5 years ago

If we agree to drop PY2 (xref #264), then this will be an easy thing to address? 😉

Cadair commented 5 years ago

Should be possible to template out bits like we have done elsewhere, or we just drop 2.7 :grin:

bsipocz commented 5 years ago

I'm in favour of the latter. No new packages should start at this point supporting it, and existing ones should seriously consider dropping support...

pllim commented 4 years ago

We dropped PY2, right? Is this still an issue?

astrofrog commented 4 years ago

Looks like it's not an issue, I don't see any Python 2.7 code in _astropy_init.py anymore