aesthete-team team mailing list archive
-
aesthete-team team
-
Mailing list archive
-
Message #00007
Re: Tidy up to ensure basic usability
Phil Weir wrote:
Few touch-ups to restore buildability.
[Patch: setup.py For: font dependency checking]
Please find attached a patch to setup.py which checks for the Linux
Libertine font and aborts if it can't find it. The patch uses the pangocairo
package to do the checking, if it cannot be imported the build is aborted.
Patch included in latest push. Have checked running of Aesthete from F15
live CD. Would it be possible to include a check for matplotlib in setup.py
too? Other than that, everything _should_ now work out of the box. Will give
it another test on the live CD from Launchpad to make sure it does before I
head to Vancouver, but if you could all give the latest push a whirl at some
point and make sure the basic essentials are not chronically broken, that'd
be appreciated.
By the by, the tree-structure clarification has now been added as a welcome
message to discourage users from trying to manually space their equations
before becoming familiar with the "What You Mean is What You See" (WYMiWYS?)
entry style. Please test the example.
Best,
P
Okay, I've added matplotlib as a dependency. Please see attached. I
really should get around to creating .ssh keys...
It now launches successfully. I like the warning message - that's the
biggest gotcha I can think of, and that deals with it.
A couple of things:
1. During install it gives me the following:
error: can't copy 'preferences.default.xml': doesn't exist or
not a regular file
Any ideas?
2. How does one do a square root?
3. Following from that, I tried to do (1+1)^1/2, but on typing ( I get
AttributeError: 'GlypherCaret' object has no attribute
'bracketed_expression_mode'
Regards,
Chris.
=== modified file 'setup.py'
--- setup.py 2011-07-13 22:28:26 +0000
+++ setup.py 2011-07-13 23:58:40 +0000
@@ -36,7 +36,7 @@
# Check python dependencies, bail if not present
package_deps = [['numpy', '1.4.1'], ['scipy', '0.7.2'], ['sympy', '0.6.7'], ['cairo', '1.8.8'], ['gobject', '2.21.5'], ['gtk', '2.17.0'], \
- ['Image', '1.1.7']]
+ ['Image', '1.1.7'], ['matplotlib', '1.0.1']]
for package_dep in package_deps :
try :
imp.find_module(package_dep[0])
Follow ups
References