[AstroPy] Ubuntu packages and state of AstroLib

Erik Tollerud erik.tollerud at gmail.com
Thu Mar 17 18:16:09 EDT 2011


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 <mdroe at stsci.edu> wrote:
> I have made a pywcs-1.10-4.7 release, available here:
>
> http://stsdas.stsci.edu/astrolib/pywcs-1.10-4.7.tar.gz
>
> and tagged in SVN here:
>
> http://svn6.assembla.com/svn/astrolib/tags/pywcs_1.10/
>
> That should remove the need for the crazy wcsset_ patching, and also provide some basic unit tests for running with nose.
>
> Cheers,
> Mike
>
> ________________________________________
> From: astropy-bounces at scipy.org [astropy-bounces at scipy.org] on behalf of Ole Streicher [astropy at liska.ath.cx]
> Sent: Thursday, March 17, 2011 11:37 AM
> Cc: astropy at scipy.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?
>
> Best
>
> Ole
> _______________________________________________
> AstroPy mailing list
> AstroPy at scipy.org
> http://mail.scipy.org/mailman/listinfo/astropy
>



-- 
Erik Tollerud



More information about the AstroPy mailing list