Thanks

Original idea from Matt Harrison:WARNING, Matt's version didn't work with latest Ubuntu (8.10) and Inkscape 0.46, major API differences, that was the reason I rewrote whole script with features I needed. I have no intention to ripoff Matt's effort, so I fully thank Matt for his work, and if you somehow feel that I have broken the license in Matt's file you can contact me through comments in this blog.

* Label allows all characters, where as ID allows only few. I need ability to use spaces in filenames so ID is no go. One can switch it to back to ID by changing line in slicer.py:basename = rect_label.lstrip("#")tobasename = rect_id

Thursday, February 12, 2009

(When I have interest, I have planned to convert this to HTML, for now, let it be Plain text)Anyone is welcome to edit, repost and/or distribute the following instructions, I just have a little wish: Provide link for this post.

Used: Eclipse Classic Ganymede (3.4.1), Django 1.0.2, PyDev

Install Pydev=============... TODO ...

Python interpreters (Eclipse preferences -> Pydev -> Interpreter - Python)--------------------------------------------------------------------------Press `New` Type (Ubuntu) `/usr/bin/python` Type (Windows) `C:\Python25\python.exe` *** Warning: not tested! Press `Ok` *IMPORTANT!* If you have installed Django to site-packages *UNCHECK* I repeat *UN*CHECK the Django from the Pythonpath list (Or remove from the list) (We are *NOT* going to use the site-packages django to this for development purposes)

1.) Pydev Package Explorer (the "file tree" on the left) -> Click on the `Django Poll` project (even if it is selected, just click it (to get focus on it))

2.) Run -> External tools -> `Django-admin (for project src directory)` *** If you get error about `Variable references empty selection: ${project_loc}`, you didn't do 1.) well enough, you *MUST* click it first and nothing else afterwards, the *project folder* in *Pydev Package Explorer* must have *focus* (being selected is not enough)!

More run configurations-----------------------Since you most likely need manage.py's commands `runserver`, `syncdb`, `reset` the most, create own run configurations for those, using similar steps as in "Manage.py from within Eclipse" section.

Tasks of project----------------

Window -> Show view -> Tasks

Tasks (little `downward triangle` before minimize of tasks window) -> Configure contents Right side of the window: check `On any element in same project` Left side of the window: check `TODOs`