Question about (local) developement workflow

Maximilian Trescher <faucon@...929...> writes:

Then i have to "install" matplotlib (with setupy.py build, setup.py
install). But every time i chenged something, i have to reinstall mpl to
test my changes.

Unless you have something against setuptools (many people do):

python setupegg.py develop

This makes some kind of link in your site packages that points to your
development directory, so restarting python is enough for python-level
changes (or, presumably, reloading the relevant modules, but I have
never understood how to do that reliably). If you change extension code,
you'll naturally have to recompile with the same "develop" command.

···

--
Jouni K. Sepp�nen

Maximilian Trescher <faucon@...929...> writes:

Then i have to "install" matplotlib (with setupy.py build, setup.py
install). But every time i chenged something, i have to reinstall mpl to
test my changes.

Unless you have something against setuptools (many people do):

python setupegg.py develop

This makes some kind of link in your site packages that points to your
development directory, so restarting python is enough for python-level
changes (or, presumably, reloading the relevant modules, but I have
never understood how to do that reliably). If you change extension code,
you'll naturally have to recompile with the same "develop" command.

--
Jouni K. Seppänen
Jouni Seppänen

Even easier is

python setupegg.py develop --user

Which doesn't require sudo and is perfect for multiple-user systems.
I use for myself all the time.

Ben Root

···

On Saturday, February 26, 2011, Jouni K. Seppänen <jks@...278...> wrote:

------------------------------------------------------------------------------
Free Software Download: Index, Search & Analyze Logs and other IT data in
Real-Time with Splunk. Collect, index and harness all the fast moving IT data
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business
insights. http://p.sf.net/sfu/splunk-dev2dev
_______________________________________________
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
matplotlib-devel List Signup and Options

Even easier is

python setupegg.py develop --user

Which doesn't require sudo and is perfect for multiple-user systems.
I use for myself all the time.

I installed the matplotlib developement version in a virtual
environement, where you can install every package as user. Anyway,
thanks for the tip.

maximilian