PgFoundry

CVS log for python/be/setup.py

[BACK] Up to [pgFoundry] / python / be

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.31 / (download) - annotate - [select for diffs], Sun Apr 22 15:45:00 2007 UTC (5 years ago) by jwp
Branch: MAIN
CVS Tags: HEAD
Changes since 1.30: +4 -2 lines
Diff to previous 1.30 (unified)

When in '__setup__', __file__ will be available.
[compound package]

Revision 1.30 / (download) - annotate - [select for diffs], Tue Apr 17 05:15:55 2007 UTC (5 years, 1 month ago) by jwp
Branch: MAIN
Changes since 1.29: +9 -13 lines
Diff to previous 1.29 (unified)

Cleanup and remove some now unused objects.

Revision 1.29 / (download) - annotate - [select for diffs], Tue Apr 17 02:41:17 2007 UTC (5 years, 1 month ago) by jwp
Branch: MAIN
Changes since 1.28: +1 -16 lines
Diff to previous 1.28 (unified)

Don't install header files at all.

These are unlikely to be useful. If they are needed, I don't imagine it being
too taxing to just have the package source on hand.

Revision 1.28 / (download) - annotate - [select for diffs], Mon Apr 16 07:03:42 2007 UTC (5 years, 1 month ago) by jwp
Branch: MAIN
Changes since 1.27: +2 -1 lines
Diff to previous 1.27 (unified)

Implement Transaction object.

. Provide GT Transaction interface for the backend
. Add consistency checks when invoking code objects to validate that all opened
transactions are closed(aborted or committed).

Also,

. Move procedure execution outside of __main__. Use main to base the __plproc__
module on, but don't use it as it is not actually the usual __main__ context.
ie, in a procedure, __name__ == '__plproc__'.

Revision 1.27 / (download) - annotate - [select for diffs], Mon Apr 9 07:56:16 2007 UTC (5 years, 1 month ago) by jwp
Branch: MAIN
Changes since 1.26: +5 -8 lines
Diff to previous 1.26 (unified)

Remove 'teop' namespace module.

Just install the package directly into teop<pg major><pg minor>[_state]. The
usefulness of a 'teop' namespace is unlikely. If an extension were to ever be
created, it would likely *need* to be version specific.

Revision 1.26 / (download) - annotate - [select for diffs], Sun Jan 14 19:35:52 2007 UTC (5 years, 4 months ago) by jwp
Branch: MAIN
Changes since 1.25: +19 -17 lines
Diff to previous 1.25 (unified)

Preliminary 8.2 support.

WARNING: Might break 8.1 and before. Untested. :(

Revision 1.25 / (download) - annotate - [select for diffs], Thu Jun 29 20:44:40 2006 UTC (5 years, 10 months ago) by jwp
Branch: MAIN
Changes since 1.24: +4 -3 lines
Diff to previous 1.24 (unified)

Include codename (major version) in module name.

python24-teop-dev.so, python24-teop.so, etc

Revision 1.24 / (download) - annotate - [select for diffs], Sat Jun 24 22:52:31 2006 UTC (5 years, 10 months ago) by jwp
Branch: MAIN
Changes since 1.23: +8 -7 lines
Diff to previous 1.23 (unified)

Set version 0.4.

Revision 1.23 / (download) - annotate - [select for diffs], Mon Feb 13 18:27:35 2006 UTC (6 years, 3 months ago) by jwp
Branch: MAIN
CVS Tags: R031
Changes since 1.22: +8 -4 lines
Diff to previous 1.22 (unified)

Link against LIBS var to make Python happy.

This should fix missing symbols issues on load.

Revision 1.22 / (download) - annotate - [select for diffs], Wed Dec 14 08:22:30 2005 UTC (6 years, 5 months ago) by jwp
Branch: MAIN
CVS Tags: R030
Changes since 1.21: +1 -2 lines
Diff to previous 1.21 (unified)

Remove 'utils' (with dead code).

Remove utils.c and utils.h. Most of the remaining code inside could be easily
relocated to another file where it could stand. Primarily, some type related
interfaces moved into type.c.

Other minor touch-ups as well.

Revision 1.21 / (download) - annotate - [select for diffs], Wed Dec 14 06:37:19 2005 UTC (6 years, 5 months ago) by jwp
Branch: MAIN
Changes since 1.20: +1 -2 lines
Diff to previous 1.20 (unified)

Remove "conv" and some dead code.

The Datum_From* functions tended to be wasteful in the sense that normally they
would need to duplicate the PyPgObject's datum. It's best just to manage it
locally and duplicate a bit of code in only a few spots, rather than spend the
time on a superfluous datumCopy.

Additionally, "conv" was primarily taking up space as the remaining functions
may as well be moved into the files that use them.

(Hooray! Next "vague" file in sights is utils.[ch])

Revision 1.20 / (download) - annotate - [select for diffs], Wed Dec 14 04:43:46 2005 UTC (6 years, 5 months ago) by jwp
Branch: MAIN
Changes since 1.19: +1 -2 lines
Diff to previous 1.19 (unified)

Remove "tif".

The rather small amount of "duplicate" code did not really justify the attempt
to generalize the code into another file.

Revision 1.19 / (download) - annotate - [select for diffs], Sun Nov 20 03:33:26 2005 UTC (6 years, 5 months ago) by jwp
Branch: MAIN
Changes since 1.18: +10 -3 lines
Diff to previous 1.18 (unified)

Fixes and 8.1 compilation.

Plug leaks.
Implement basic Portal creation based on cursor name.
Make Postgres.Query use a memory context for storing the rpt, qtree, and plan.
Make Postgres.Query use an execution context for running and initialization.
Remove leaks by not running in top. However, be sure reallocate all permanent
objects in the PythonMemoryContext(Top for now).
Fix Portals, encodings and Query for 8.1.
Force garbage collection at the end of the transaction.
Remove some dead code.
Other various fixes and cleanups.

Revision 1.18 / (download) - annotate - [select for diffs], Fri Oct 21 21:54:39 2005 UTC (6 years, 6 months ago) by jwp
Branch: MAIN
Changes since 1.17: +19 -15 lines
Diff to previous 1.17 (unified)

Implement the new type system.

This makes Postgres.Type a metaclass for Postgres.Object. Postgres.Object is a
proper Python type object. Extensions are made by subclassing Postgres.Object,
and associating the appropriate type identification information with the class.

This "bloats" the extension module by having most of the builtin types defined.
However, this provides the ability to customize the type interface per-type, as
opposed to "per-oid" crowded in src/object.c.

Additionally, describe function input using a PyPgTupleDesc. Arguments passed to
the function will be a HeapTuple of that descriptor.

Generator functionality has been changed. Non-SRF generators will not have the
'args' automatically updated. Rather, in preparation for 2.5(PEP 342)[1], look
at calling the 'send' method of the state object. SRFs are not effected by this
as there should be no expectation to get 'new' arguments.

Postgres.TupleDesc instances now require a single sequence object for
instantiating a HeapTuple. (As do/will PyPg_record_Types)

Prohibit COPY TO/FROM STDIO in Postgres.Query.

Start work to rid the repo of conv.c, tif.c, and utils.c.

Move the PostgreSQL extension from $libdir/pl/python-xy.so to $libdir/python-xy.so

[1] http://www.python.org/peps/pep-0342.html

Revision 1.17 / (download) - annotate - [select for diffs], Sat Jul 16 21:04:59 2005 UTC (6 years, 10 months ago) by jwp
Branch: MAIN
CVS Tags: R020
Changes since 1.16: +5 -15 lines
Diff to previous 1.16 (unified)

Rely on relative paths. setup already relies on relative paths, so just finish
the job everywhere else. The removed code caused setup.cache to not be found if
setup were to be invoked outside of setup's directory.

Revision 1.16 / (download) - annotate - [select for diffs], Thu Jun 30 03:19:08 2005 UTC (6 years, 10 months ago) by jwp
Branch: MAIN
CVS Tags: R010
Changes since 1.15: +2 -1 lines
Diff to previous 1.15 (unified)

Ugh, missed file. Don't forget to compile 'encoding'.

Revision 1.15 / (download) - annotate - [select for diffs], Sat Jun 25 09:00:01 2005 UTC (6 years, 10 months ago) by jwp
Branch: MAIN
Changes since 1.14: +8 -2 lines
Diff to previous 1.14 (unified)

Fix build on darwin.

Revision 1.14 / (download) - annotate - [select for diffs], Sun Jun 19 20:21:20 2005 UTC (6 years, 10 months ago) by jwp
Branch: MAIN
Changes since 1.13: +12 -7 lines
Diff to previous 1.13 (unified)

Cleanup and temporary work-around for pg.util.config.

Revision 1.13 / (download) - annotate - [select for diffs], Fri May 27 20:50:34 2005 UTC (6 years, 11 months ago) by jwp
Branch: MAIN
Changes since 1.12: +12 -27 lines
Diff to previous 1.12 (unified)

Use utility.config and utility.version. Attempt to provide some compatibility
for win32.

Revision 1.12 / (download) - annotate - [select for diffs], Sat May 14 21:47:51 2005 UTC (7 years ago) by jwp
Branch: MAIN
Changes since 1.11: +42 -87 lines
Diff to previous 1.11 (unified)

Use package_dir appropriately, removing some kludge.
No longer depend on the module path to provide the destination directory. For
now, it's always relative to site-packages. However, it should rely on
install_lib.
(Back to relying on layout being installed/accessible)

Revision 1.11 / (download) - annotate - [select for diffs], Thu May 12 19:29:34 2005 UTC (7 years ago) by jwp
Branch: MAIN
Changes since 1.10: +6 -12 lines
Diff to previous 1.10 (unified)

Replace license-stamps in source files with IRI to project site.
Update license to BSDL with link to substitute terms.

Revision 1.10 / (download) - annotate - [select for diffs], Mon May 2 08:05:20 2005 UTC (7 years ago) by jwp
Branch: MAIN
Changes since 1.9: +2 -2 lines
Diff to previous 1.9 (unified)

Implement C Interface for extension module and have the PL use it.

Accessing the objects in the extension module meant getting all the attributes
one needed. Now, only one attribute need be gotten by a C user, "CI". While not
all functions are yet provided, the ones pl.c needs have been along with the
necessary entries to initialize the PL in the extension module. This simplifies
the process greatly as there is now no need to pass around CObjects to tp_new
routines via Python object calls, as PLCall_Initialize and Pull_Initialize may
be directly called.

Fixes bug todo #1000300,
http://pgfoundry.org/tracker/index.php?func=detail&aid=1000300&group_id=1000094&atid=442
Various other fixes and touchups.

Revision 1.9 / (download) - annotate - [select for diffs], Sat Apr 30 01:06:24 2005 UTC (7 years ago) by jwp
Branch: MAIN
Changes since 1.8: +5 -3 lines
Diff to previous 1.8 (unified)

Make name and version sdist friendly.

Revision 1.8 / (download) - annotate - [select for diffs], Sun Apr 24 07:37:42 2005 UTC (7 years ago) by jwp
Branch: MAIN
Changes since 1.7: +15 -8 lines
Diff to previous 1.7 (unified)

Move IST interfaces to PL.
With that, the dependency on Postgres error to Python exception conversion
routines. So, link the pl against error.c.

Add STATE tags to installed filenames, giving project versioning to be, rather
than being solely based on python and postgres versions.
So, $libdir/pl/python24-dev.so and postgresl.backend.interface.teop.dev-v80.*
STATE being "dev".

Revision 1.7 / (download) - annotate - [select for diffs], Sat Apr 23 02:46:57 2005 UTC (7 years ago) by jwp
Branch: MAIN
Changes since 1.6: +99 -78 lines
Diff to previous 1.6 (unified)

Make setup.py import friendly.
Also, make setup calculate installation directories at install time.
Tweak as necessary in ldistutils.

This allows 'be' to be configured and built prior to the installation of 'lo'.

Revision 1.6 / (download) - annotate - [select for diffs], Sun Apr 17 19:37:06 2005 UTC (7 years, 1 month ago) by jwp
Branch: MAIN
Changes since 1.5: +2 -1 lines
Diff to previous 1.5 (unified)

Add namespace interfaces.

New namespace type for providing access to the namespace's contents and
information. Function, Type, Relation, etc. methods are used for element type
selectivity.

Type, Function, and Operator are known to be working, others still need testing.

Revision 1.5 / (download) - annotate - [select for diffs], Thu Apr 14 23:36:32 2005 UTC (7 years, 1 month ago) by jwp
Branch: MAIN
Changes since 1.4: +13 -17 lines
Diff to previous 1.4 (unified)

Don't bail if !='posix'.
The exception raised from get_output will probably be more descriptive than
current.
Also add vim source formatting magic.

Revision 1.4 / (download) - annotate - [select for diffs], Fri Apr 8 01:45:52 2005 UTC (7 years, 1 month ago) by jwp
Branch: MAIN
Changes since 1.3: +49 -47 lines
Diff to previous 1.3 (unified)

Finish transition
Move/Rename files.
Use new APIs.
Prepare for using maiden exceptions(globals.c, error.c).
Clean up Postgres.Object code that still referred to composites as HeapTuple's
rather than HeapTupleHeaders.(8 or greater, now)
Other minor cleanup and bug fixes.

Revision 1.3 / (download) - annotate - [select for diffs], Sat Feb 5 19:29:56 2005 UTC (7 years, 3 months ago) by flaw
Branch: MAIN
Changes since 1.2: +2 -3 lines
Diff to previous 1.2 (unified)

remove references to pputils.h and pstream.[ch], they are no longer in use.

Revision 1.2 / (download) - annotate - [select for diffs], Mon Dec 20 06:36:23 2004 UTC (7 years, 4 months ago) by flaw
Branch: MAIN
Changes since 1.1: +13 -6 lines
Diff to previous 1.1 (unified)

minor improvements

comment about use of data_files to install __init__.py in pg.be.if.teop
depend on postgresql.backend.interface.__path__ for the directory path.

Revision 1.1.1.1 / (download) - annotate - [select for diffs] (vendor branch), Thu Dec 16 00:32:17 2004 UTC (7 years, 5 months ago) by flaw
Branch: FINAL
CVS Tags: INIT
Changes since 1.1: +0 -0 lines
Diff to previous 1.1 (unified)

import 'imp' into 'be'

This is done to improve comprehension as fe[frontend] will be imported soon.
Now that there is work on both a backend and a frontend, imp was slightly
ambigious(perhaps was before as well). 'be' is significantly more descriptive.

Some small changes and file moves for were done to help improve history and to
reorganize a tad while we are working with a fresh repo.

Revision 1.1 / (download) - annotate - [select for diffs], Thu Dec 16 00:32:17 2004 UTC (7 years, 5 months ago) by flaw
Branch: MAIN

Initial revision

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




PgFoundry-cvsweb <pgfoundry-cvsweb@pgFoundry.org>