[Basemap] Don't recompile nad2bin when running setup.py clean

Hi,
when running

    python setup.py clean

nad2bin is compiled. I've just worked around with the attached patch,
so it would be nice if you can integrate it upstream or come up with a
better solution.

Regards,

dont_compile_nad2bin_on_clean (677 Bytes)

···

--
Sandro Tosi (aka morph, morpheus, matrixhasu)
My website: http://matrixhasu.altervista.org/
Me at Debian: http://wiki.debian.org/SandroTosi

Applied your patch to github master. Will be in 1.0.2, which I will release soon.

-Jeff

···

On 9/18/11 8:49 AM, Sandro Tosi wrote:

Hi,
when running

     python setup.py clean

nad2bin is compiled. I've just worked around with the attached patch,
so it would be nice if you can integrate it upstream or come up with a
better solution.

Regards,

--
Jeffrey S. Whitaker Phone : (303)497-6313
Meteorologist FAX : (303)497-6449
NOAA/OAR/PSD R/PSD1 Email : Jeffrey.S.Whitaker@...236...
325 Broadway Office : Skaggs Research Cntr 1D-113
Boulder, CO, USA 80303-3328 Web : Jeffrey S. Whitaker: NOAA Physical Sciences Laboratory

Hi Jeff,

···

On Mon, Sep 19, 2011 at 17:39, Jeff Whitaker <Jeffrey.S.Whitaker@...236...> wrote:

On 9/18/11 8:49 AM, Sandro Tosi wrote:

Hi,
when running

python setup\.py clean

nad2bin is compiled. I've just worked around with the attached patch,
so it would be nice if you can integrate it upstream or come up with a
better solution.

Regards,

Applied your patch to github master. Will be in 1.0.2, which I will release
soon.

something happened in the middle, and the setup.py released with 1.0.2
still compile nad2bin in clean target; I've applied the following fix:

-if sys.argv[1] != ['sdist','clean']:
+if sys.argv[1] not in ['sdist','clean']:

Cheers,
--
Sandro Tosi (aka morph, morpheus, matrixhasu)
My website: http://matrixhasu.altervista.org/
Me at Debian: http://wiki.debian.org/SandroTosi