[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
gnue gnue-common/INSTALL gnue-common/src/dbdriv...
From: |
James Thompson |
Subject: |
gnue gnue-common/INSTALL gnue-common/src/dbdriv... |
Date: |
Mon, 05 Nov 2001 22:55:24 -0500 |
CVSROOT: /cvs
Module name: gnue
Changes by: James Thompson <address@hidden> 01/11/05 22:55:24
Modified files:
gnue-common : INSTALL
gnue-common/src/dbdrivers/pypgsql: DBdriver.py
gnuef : AUTHORS INSTALL.win32 setup.py
Added files:
gnue-common : AUTHORS
gnue-common/etc: sample.connections.conf
Log message:
Fix for pyPgSQL 2.0
misc AUTHOR file update
single connections.conf sample
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnue-common/AUTHORS?cvsroot=OldCVS&rev=1.1
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnue-common/INSTALL.diff?cvsroot=OldCVS&tr1=1.4&tr2=1.5&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnue-common/etc/sample.connections.conf?cvsroot=OldCVS&rev=1.1
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnue-common/src/dbdrivers/pypgsql/DBdriver.py.diff?cvsroot=OldCVS&tr1=1.4&tr2=1.5&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnuef/AUTHORS.diff?cvsroot=OldCVS&tr1=1.9&tr2=1.10&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnuef/INSTALL.win32.diff?cvsroot=OldCVS&tr1=1.3&tr2=1.4&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnuef/setup.py.diff?cvsroot=OldCVS&tr1=1.44&tr2=1.45&r1=text&r2=text
Patches:
Index: gnue/gnue-common/INSTALL
diff -u gnue/gnue-common/INSTALL:1.4 gnue/gnue-common/INSTALL:1.5
--- gnue/gnue-common/INSTALL:1.4 Tue Jun 26 00:32:46 2001
+++ gnue/gnue-common/INSTALL Mon Nov 5 22:55:24 2001
@@ -1,17 +1,32 @@
-To install:
+On all systems
-./setup.py install
+ ./setup.py install
-for help:
+ for help:
-./setup.py --help
+ ./setup.py --help
+On *nix based machine
+ Switch to the etc directory under your install diretory.
+ On my system that is
-After installing, if you plan on connecting to databases,
-you will need to set up your connections definition file.
-See doc/Connections.txt for more information and etc/samples.*
-for examples.
+ /usr/local/gnue/etc
-You also need to move the installed sample.gnue.conf file to
-gnue.conf (typically found in /usr/local/gnue/etc) and make
-any changes you feel are necessary.
\ No newline at end of file
+ Rename the sample.gnue.conf to gnue.conf. Make any optional changes you
like to this file.
+
+On Windows machine
+
+ Switch to the etc directory under your python install dir.
+ On my system that is
+
+ C:\python21\etc
+
+ Rename the sample-windows.gnue.conf to gnue.conf. Make any optional changes
you like to this file.
+
+
+On all systems
+
+ You should also rename sample.connections.conf to connections.conf and edit
it to
+ reflect the databases you wish to access frequently.
+
+ See doc/Connections.txt for more information
\ No newline at end of file
Index: gnue/gnue-common/src/dbdrivers/pypgsql/DBdriver.py
diff -u gnue/gnue-common/src/dbdrivers/pypgsql/DBdriver.py:1.4
gnue/gnue-common/src/dbdrivers/pypgsql/DBdriver.py:1.5
--- gnue/gnue-common/src/dbdrivers/pypgsql/DBdriver.py:1.4 Mon Nov 5
16:20:38 2001
+++ gnue/gnue-common/src/dbdrivers/pypgsql/DBdriver.py Mon Nov 5 22:55:24 2001
@@ -28,9 +28,11 @@
# NOTES:
#
-
-import PgSQL
-
+try:
+ from pyPgSQL import PgSQL # pyPgSQL 2.0 support
+except ImportError:
+ import PgSQL # pyPgSQL 1.6 support
+
from string import lower, join
import sys
from gnue.common import GDebug, GDataObjects
Index: gnue/gnuef/AUTHORS
diff -u gnue/gnuef/AUTHORS:1.9 gnue/gnuef/AUTHORS:1.10
--- gnue/gnuef/AUTHORS:1.9 Thu May 24 11:31:49 2001
+++ gnue/gnuef/AUTHORS Mon Nov 5 22:55:24 2001
@@ -1,6 +1,9 @@
Jamest Thompson <address@hidden>
- Everything and the kitchen sink.
+ Lots of stuff. Most of which is being rapidly replace by the people below :)
+Jason Cater <address@hidden>
+ Lots o' stuff; Oracle support, validating parser, migration to gnue-common
+
Chris Spence <>
Lots of stuff including GFParser.py code, GUI login in wxwindows, curses
support
@@ -19,9 +22,6 @@
Micah
Trigger exception handling
-
-Jason Cater <address@hidden>
- Lots o' stuff; Oracle support, validating parser, migration to gnue-common
If we've missed anyone please let us know.
Index: gnue/gnuef/INSTALL.win32
diff -u gnue/gnuef/INSTALL.win32:1.3 gnue/gnuef/INSTALL.win32:1.4
--- gnue/gnuef/INSTALL.win32:1.3 Sat Jun 30 18:58:26 2001
+++ gnue/gnuef/INSTALL.win32 Mon Nov 5 22:55:24 2001
@@ -1,49 +1,40 @@
Installation instructions for GNUe-Forms on Win32 platforms
-0.0.9 marks the return of windows support. At this time the
-software isn't as fully tested on windows on *nix based
-systems.
-
Prerequisite software packages
================================
-Python 2.0.1 www.python.org
-PyGreSQL 3.1 Access to Postgresql databases
- www.druid.net/pygresql is the main site however
- a win32 version of the software is located at
- http://highqualdev.com
+Python 2.x+ www.python.org (1.X python will not work)
wxPython The GUI widget set
http://www.wxpython.org/download.php
PyXML XML parser tools
http://sourceforge.net/projects/pyxml
+mxDateTime http://www.lemburg.com/files/python/mxDateTime.html
+
+A supported DB driver (tested so far, others should work)
+ PyPgSQL http://sourceforge.net/projects/pypgsql/
+
+* If you test something else and it works under windows please
+* let us know. Thanks.
Download GNUe-Forms:
====================
You should grab the most recent versions of the following packages
-from www.gnue.org
+from www.gnuenterprise.org
-GNUe Common (windows)
-GNUe Forms (windows)
+GNUe Common (source)
+GNUe Forms (source)
+* Win32 binaries not available yet.
+
Installation
============
Installation is fairly simple. First you must install all of the prerequisite
-software packages starting with Python 2.0. Then install GNUe Common
-followed by GNUe Forms
-
-The one package that isn't easily installed is PyGreSQL. It is contained in
-a zip file not a self installer. To install
+software packages starting with Python 2.x. Then install GNUe Common
following the install
+instructions provided in it's package. Next install GNUe Forms. You should
then install
+the database drivers you'll require.
-Create a temporary directory
-unzip PyGreSQL to that directory
-If python is in your path then you should be able to do
- python setup.py build
- python setup.py install
-
-Now you can delete the temporary directory
-
Using
=====
@@ -70,4 +61,6 @@
Open Questions:
===============
+
+
Index: gnue/gnuef/setup.py
diff -u gnue/gnuef/setup.py:1.44 gnue/gnuef/setup.py:1.45
--- gnue/gnuef/setup.py:1.44 Sun Nov 4 17:49:08 2001
+++ gnue/gnuef/setup.py Mon Nov 5 22:55:24 2001
@@ -226,8 +226,7 @@
+ "INST_GNUE_CONNECTIONS='%s/etc/connections.conf'\n" %
dict['prefix'][1] \
+ "os.environ['INSTALL_LIB']='%s'\n" % dict['install_lib'][1] \
+ "os.environ['INSTALL_PREFIX']='%s'\n" % dict['prefix'][1] \
- + "#######\n" \
- + "os.putenv('PYTHONCASEOK','1')"
+ + "#######\n"
else:
gnue_env = \
"#######\n" \
@@ -235,7 +234,8 @@
+ "INST_GNUE_CONNECTIONS='%s/etc/connections.conf'\n" % (sys.prefix) \
+ "os.environ['INSTALL_PREFIX']='%s'\n" % (sys.prefix) \
+ "os.environ['INSTALL_LIB']='%s'\n" % (sys.prefix) \
- + "#######\n"
+ + "#######\n" \
+ + "os.putenv('PYTHONCASEOK','1')"
for script in self.scripts:
print "Building %s..."% (script),
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- gnue gnue-common/INSTALL gnue-common/src/dbdriv...,
James Thompson <=