github - basemap and contributing...

Dear all,

I’ve successfully forked matplotlib.basemap to ThomasLecocq.basemap and cloned ThomasLecocq.basemap to my machine. Now,
how can I have this clone be THE mpl_toolkits.basemap package, so I can
make edits in the init.py (that contains the Basemap class) and preview them “live” on this machine. Once they are nice and OK, I can commit/push it to my master on github and probably create a pull request
to the matplotlib.basemap git ?

Thanks a lot in advance,

Thom

ps : if this mail goes through and the previous didn’t, might be becaused I did not use the forked term in the subject…

···

Dr Thomas Lecocq
Geologist
Royal Observatory of Belgium

  • Seismology -

You would build and install basemap from the git source as you would normally from a tarball source. Make modifications to the source, do a “python setup.py install”, test, and repeat as needed. When happy, commit those changes to your local branch, push that branch up to your github account, and then from github make a PR.

The instructions for basemap wouldn’t be all that different from matplotlib, which can be found here:
http://matplotlib.org/devel/gitwash/index.html

Cheers!
Ben Root

···

On Tue, Mar 12, 2013 at 12:12 PM, Thomas Lecocq <thlecocq@…1954…> wrote:

Dear all,

I’ve successfully forked matplotlib.basemap to ThomasLecocq.basemap and cloned ThomasLecocq.basemap to my machine. Now,
how can I have this clone be THE mpl_toolkits.basemap package, so I can
make edits in the init.py (that contains the Basemap class) and preview them “live” on this machine. Once they are nice and OK, I can commit/push it to my master on github and probably create a pull request
to the matplotlib.basemap git ?

Thanks a lot in advance,

Thom