[conduit] support running uninstalled again



commit 532177df29a511174cdee95933bcda94739eb141
Author: John Stowers <john stowers gmail com>
Date:   Mon Mar 29 20:04:16 2010 +0200

    support running uninstalled again

 conduit/__init__.py  |    2 +-
 conduit/conduit.real |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/conduit/__init__.py b/conduit/__init__.py
index a118bf7..0a66122 100644
--- a/conduit/__init__.py
+++ b/conduit/__init__.py
@@ -29,7 +29,7 @@ gobject.threads_init()
 # Global Constants
 ################################################################################
 DIRECTORY = os.path.abspath(os.path.join(os.path.dirname(__file__), '..'))
-IS_INSTALLED = not os.path.exists(os.path.join(DIRECTORY,"ChangeLog"))
+IS_INSTALLED = not os.path.exists(os.path.join(DIRECTORY,"NEWS"))
 IS_DEVELOPMENT_VERSION = True
 
 #test the existance of some compulsory directories
diff --git a/conduit/conduit.real b/conduit/conduit.real
index 38e9ddb..e41c183 100755
--- a/conduit/conduit.real
+++ b/conduit/conduit.real
@@ -15,7 +15,7 @@ import os.path
 
 #support running uninstalled
 _dirname = os.path.abspath(os.path.join(os.path.dirname(__file__), '..'))
-if os.path.exists(os.path.join(_dirname,"ChangeLog")):
+if os.path.exists(os.path.join(_dirname,"NEWS")):
     sys.path.insert(0, _dirname)
 
 import conduit



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]