View previous topic :: View next topic |
Author |
Message |
Chymera Apprentice
Joined: 13 Sep 2007 Posts: 245 Location: Zürich
|
Posted: Sat Oct 05, 2013 7:40 pm Post subject: PythonTEX ebuild |
|
|
Hi guys, I am trying to write an ebuild for an awesome software package called PythonTeX. This package allows you to run python code from within LaTeX - giving you the possibility of making live graphics part of your documents. Data Changed? BÄM! automatically get new graphic on the next compile! This is awesome for many things, especially for science - and I plan to submit this to the gentoo-science overlay.
In the mean time:
My ebuild is here https://github.com/TheChymera/sci/tree/33398fa1b68185f52b249407f4f499db72749ea4/dev-tex/pythontex/pythontex-0.12.ebuild
But it fails to compile because http://bpaste.net/show/136819/
Apparently either the install script has some interactivity - or pythontex is already included (in texlive maybe) - equery didn't find anything, so I'm at a loss.
Any ideas what'S going on and what I can do about it? _________________ Check out my initiative to bring Neuroscience software to Gentoo - NeuroGentoo! |
|
Back to top |
|
|
Chymera Apprentice
Joined: 13 Sep 2007 Posts: 245 Location: Zürich
|
|
Back to top |
|
|
anyc Tux's lil' helper
Joined: 31 May 2004 Posts: 119
|
|
Back to top |
|
|
Chymera Apprentice
Joined: 13 Sep 2007 Posts: 245 Location: Zürich
|
Posted: Sun Oct 06, 2013 7:02 pm Post subject: |
|
|
What 2.7? I can't find any “2.7” in my build :-/ _________________ Check out my initiative to bring Neuroscience software to Gentoo - NeuroGentoo! |
|
Back to top |
|
|
Chymera Apprentice
Joined: 13 Sep 2007 Posts: 245 Location: Zürich
|
Posted: Tue Oct 08, 2013 1:04 am Post subject: |
|
|
My ebuild currently looks like this - and it seems to work, but:
- I can't run pythontex.py from terminal (even though the path is in that environment file)
- If I run it with the whole path it can't find pythontex_engines which gets opied to the same path actually :-/ ImportError: No module named pythontex_engines
any Ideas what I should do?
These are the instructions I got from upstream
Quote: |
In addition to installing the files according to those specifications, you need a symlink to pythontex.py in the bin/<platform> directory. The bin directory will be at the same level as texmf-dist. <platform> is system-dependent; a complete list is at http://www.tug.org/texlive/doc/texlive-en/texlive-en.html#x1-250003.2.1.
After all the files are installed, mktexlsr must be run so that the new files are detected.
|
I tried using mktexlsr - but as you can see it won't work - http://bpaste.net/show/138610/ . _________________ Check out my initiative to bring Neuroscience software to Gentoo - NeuroGentoo! |
|
Back to top |
|
|
|