[AstroPy] Ubuntu packages and state of AstroLib
Thu Mar 17 18:21:52 CDT 2011
I just tested in in an ubuntu virtualenv, and it seems to work. I was
forced to also install pyfits, apparently because the pywcs setup
script uses just distutils instead of distutils+distribute (or
distutils+setuptools). That's not a serious problem, though, as it's
trivial to install with PIP if someone needs it.
Thanks for posting it!
On Thu, Mar 17, 2011 at 4:02 PM, Michael Droettboom <email@example.com> wrote:
> I've uploaded a 1.10 source release to PyPI. Please let me know how it works, as I've never really used easy_install/pip.
> From: firstname.lastname@example.org [email@example.com] on behalf of Erik Tollerud [firstname.lastname@example.org]
> Sent: Thursday, March 17, 2011 6:16 PM
> To: Michael Droettboom; email@example.com
> Subject: Re: [AstroPy] Ubuntu packages and state of AstroLib
> So are there still no plans to upload pywcs to PyPI?
> I can understand not wanting to deal with building binaries, but if a
> source distribution can be uploaded, then the "pip" tool (which is the
> now-standard tool given that easy_install is not being developed nor
> is it py3k compatible) can properly install from source as long as the
> user has wcslib installed. This makes it much easier to treat pywcs
> as a dependency for other packages.
> As far as I can tell this should be as easy as adding "
> 'requires':['numpy','pyfits'],'provides':['pywcs']" to the setupargs
> in defsetup.py and running "python sdist upload". Presumably numpy is
> still needed to build, but as long as numpy is installed, I think that
> should make it so that other packages can make pywcs a dependency.
> On Thu, Mar 17, 2011 at 12:01 PM, Michael Droettboom <firstname.lastname@example.org> wrote:
>> I have made a pywcs-1.10-4.7 release, available here:
>> and tagged in SVN here:
>> That should remove the need for the crazy wcsset_ patching, and also provide some basic unit tests for running with nose.
>> From: email@example.com [firstname.lastname@example.org] on behalf of Ole Streicher [email@example.com]
>> Sent: Thursday, March 17, 2011 11:37 AM
>> Cc: firstname.lastname@example.org
>> Subject: Re: [AstroPy] Ubuntu packages and state of AstroLib
>> Am 17.03.2011 15:43, schrieb Michael Droettboom:
>>> Also in SVN, I've documented how to run the tests. As you point out
>>> will not work with the latest 1.9 release, but assuming SVN head
>>> works for you for your packaging purposes, I'm happy to make a new
>>> 1.10 release.
>> I successfully tested the package build process against the SVN trunk,
>> so a new version would be fine for me.
>> Additionally to Sergio's patch, I will also remove all references to the
>> test fits files and the wcslib includes in the defsetup.py, since they
>> are not needed for the binary package. This makes the package smaller
>> without the need to remove the tests from the source tarball.
>> Would you just tag the version in SVN or also provide a downloadable tar
>> file at stsci?
>> AstroPy mailing list
> Erik Tollerud
More information about the AstroPy