Commits

Alexandre Quessy committed cbcb779

Using pythondir !!

Comments (0)

Files changed (2)

hellopy/Makefile.am

-hellopydir = $(libdir)/hellopy/hellopy
-
 # in alphabetical order:
+hellopydir = $(pythondir)/hellopy
 hellopy_PYTHON = runner.py dialog.py __init__.py
 
 clean-local:

hellopy/runner.py

         def _cb(result):
             reactor.stop()
         deferred.addCallback(_cb)
-        dialog.ErrorDialog(deferred, "Hello!")
+        dialog.ErrorDialog(deferred, "Hello from %s!" % (__file__))
         reactor.run()
     else:
-        print "Hello!"
+        print "Hello from %s!" % (__file__)