freebsd-ports/math/py-gato/files/patch-Gato.py
Li-Wen Hsu 7552069982 - Update to to 0.99D
- Respect PORTEXAMPLES, NOPORTEXAMPLES
- portlint(1)

PR:		ports/136462
Submitted by:	Kouki Hashimoto <hsmtkk AT gmail.com> (based on)
2009-07-13 05:59:54 +00:00

25 lines
1,012 B
Python

--- Gato.py Wed Jul 08 22:14:29 2009 +0900
+++ Gato.py Wed Jul 08 22:16:07 2009 +0900
@@ -1,4 +1,4 @@
-#!/usr/bin/env python2.3
+#!/usr/bin/env python
################################################################################
#
# This file is part of Gato (Graph Animation Toolbox)
@@ -1590,11 +1590,11 @@
self.algoGlobals['A'] = self.GUI.graphDisplay
# XXX
# explictely loading packages we want to make available to the algorithm
- modules = ['DataStructures',
- 'AnimatedDataStructures',
- 'AnimatedAlgorithms',
- 'GraphUtil',
- 'GatoUtil']
+ modules = ['Gato.DataStructures',
+ 'Gato.AnimatedDataStructures',
+ 'Gato.AnimatedAlgorithms',
+ 'Gato.GraphUtil',
+ 'Gato.GatoUtil']
for m in modules:
exec("from %s import *" % m, self.algoGlobals, self.algoGlobals)