Repository navigation
setup/version-legacy-packages - #174
Conversation
…code that does version checks on the legacy package work.
|
+1 that's a good idea. I have to say, this whole legacy shim apparatus is pretty awesome. I can't wait for the first Astropy release so we can start trying to use it. One thing I might add to this: In addition to For example, PyFITS has an |
…ariables to the __init__.py for the legacy shim. For demonstration purposes, added the SVN revision last merged from PyFITS. PyFITS has a built-in variable called __svn_revision__, so this would support that. Unfortunately, this does nothing to fix the fact that this value will have to be updated manually.
|
I'm guessing I'll want to add asciitable as a legacy package. |
Legacy custom init
|
This now includes @iguananaut's extension to include arbitrary values in the legacy shim's |
|
Perhaps a short section should be added in the developer documentation to mention how this system works? I can actually imagine this mechanism might be useful for to people who might not be following the development too closely (including e.g. adding legacy shims for old packages to affiliated packages rather than the astropy core). |
|
@mdboom - are you thinking will add the aforementioned documentation section in this pull request, or should I merge this and just add an issue about it to be dealt with later? |
|
Sure, let's go ahead and merge. I had meant to add developer docs, but it's a little tricky -- the usage of this is already documented, so that's the basics covered, at least. |
|
Ok, I'll try to look for a space to put this in the work I'm doing for #162, and afterwards you can fill it in whenever you find the time. Thanks! |
setup/version-legacy-packages
Slight tweak to ensure that the (possible) C++ filename associated wi…
Fix last name typo for Ginga maintainer
This adds an equivalent version to the legacy package so version checks against the legacy packages work.
I understand this requires manual updating as legacy packages are merged into astropy -- if anyone can think of a better way I'm open to it, but this solves my immediate need for now.