Changeset 711
- Timestamp:
- Jan 11, 2016, 3:45:05 AM (3 years ago)
- Files:
-
- 2 deleted
- 4 edited
- 27 copied
Legend:
- Unmodified
- Added
- Removed
-
branches/4.x
- Property svn:ignore
-
old new 1 *.egg-info 1 2 .idea 3 .tox 4 .vagrant 2 5 BETA 6 build 7 dist
-
- Property svn:ignore
-
branches/4.x/mktar
r708 r711 33 33 TF=$DISTDIR/$TD.tgz 34 34 35 MODFILES=" module/pg.py module/pgdb.py module/pgmodule.c36 module/pgfs.h module/pgtypes.h37 module/setup.py module/setup.cfg"35 MODFILES="pg.py pgdb.py pgmodule.c 36 pgfs.h pgtypes.h 37 setup.py setup.cfg" 38 38 DOCFILES="docs/Makefile docs/make.bat docs/*.rst 39 39 docs/contents docs/download docs/community 40 40 docs/_static docs/_templates" 41 41 HTMLFILES="docs/_build/html" 42 TESTFILES=" module/tests/*.py"42 TESTFILES="tests/*.py" 43 43 44 44 echo "Making source tarball..." -
branches/4.x/setup.py
r710 r711 11 11 * PyGreSQL written 1997 by D'Arcy J.M. Cain <darcy@druid.net> 12 12 * based on code written 1995 by Pascal Andre <andre@chimay.via.ecp.fr> 13 * setup script created 2000 /04Mark Alexander <mwa@gate.net>14 * tweaked 2000/05Jeremy Hylton <jeremy@cnri.reston.va.us>15 * win32 support 2001/01 by Gerhard Haering <gerhard@bigfoot.de>16 * tweaked 2006/02-2010/02by Christoph Zwerschke <cito@online.de>13 * setup script created 2000 by Mark Alexander <mwa@gate.net> 14 * improved 2000 by Jeremy Hylton <jeremy@cnri.reston.va.us> 15 * improved 2001 by Gerhard Haering <gerhard@bigfoot.de> 16 * improved 2006 and 2016 by Christoph Zwerschke <cito@online.de> 17 17 18 18 Prerequisites to be installed: … … 27 27 python setup.py build # to build the module 28 28 python setup.py install # to install it 29 30 You can use MinGW or MinGW-w64 for building on Windows:31 python setup.py build -c mingw32 install32 29 33 30 See docs.python.org/doc/install/ for more information on … … 59 56 60 57 58 # For historical reasons, PyGreSQL does not install itself as a single 59 # "pygresql" package, but as two top-level modules "pg", providing the 60 # classic interface, and "pgdb" for the modern DB-API 2.0 interface. 61 # These two top-level Python modules share the same C extension "_pg". 62 63 py_modules = ['pg', 'pgdb'] 64 c_sources = ['pgmodule.c'] 65 66 61 67 def pg_config(s): 62 68 """Retrieve information about installed version of PostgreSQL.""" … … 81 87 82 88 pg_version = pg_version() 83 py_modules = ['pg', 'pgdb']84 89 libraries = ['pq'] 85 90 # Make sure that the Python header files are searched before … … 177 182 license="Python", 178 183 py_modules=py_modules, 179 ext_modules=[Extension('_pg', ['pgmodule.c'],184 ext_modules=[Extension('_pg', c_sources, 180 185 include_dirs=include_dirs, library_dirs=library_dirs, 181 186 define_macros=define_macros, undef_macros=undef_macros, -
trunk
- Property svn:ignore
-
old new 1 *.egg-info 1 2 .idea 3 .tox 4 .vagrant 2 5 BETA 6 build 7 dist
-
- Property svn:ignore
-
trunk/mktar
r710 r711 33 33 TF=$DISTDIR/$TD.tgz 34 34 35 MODFILES=" module/pg.py module/pgdb.py module/pgmodule.c36 module/pgfs.h module/pgtypes.h module/py3c.h37 module/setup.py module/setup.cfg"35 MODFILES="pg.py pgdb.py pgmodule.c 36 pgfs.h pgtypes.h py3c.h 37 setup.py setup.cfg" 38 38 DOCFILES="docs/Makefile docs/make.bat docs/*.rst 39 39 docs/contents docs/download docs/community 40 40 docs/_static docs/_templates" 41 41 HTMLFILES="docs/_build/html" 42 TESTFILES=" module/tests/*.py"42 TESTFILES="tests/*.py" 43 43 44 44 echo "Making source tarball..." -
trunk/setup.py
r710 r711 11 11 * PyGreSQL written 1997 by D'Arcy J.M. Cain <darcy@druid.net> 12 12 * based on code written 1995 by Pascal Andre <andre@chimay.via.ecp.fr> 13 * setup script created 2000 /04Mark Alexander <mwa@gate.net>14 * tweaked 2000/05Jeremy Hylton <jeremy@cnri.reston.va.us>15 * win32 support 2001/01 by Gerhard Haering <gerhard@bigfoot.de>16 * tweaked 2006/02-2010/02by Christoph Zwerschke <cito@online.de>13 * setup script created 2000 by Mark Alexander <mwa@gate.net> 14 * improved 2000 by Jeremy Hylton <jeremy@cnri.reston.va.us> 15 * improved 2001 by Gerhard Haering <gerhard@bigfoot.de> 16 * improved 2006 and 2016 by Christoph Zwerschke <cito@online.de> 17 17 18 18 Prerequisites to be installed: … … 27 27 python setup.py build # to build the module 28 28 python setup.py install # to install it 29 30 You can use MinGW or MinGW-w64 for building on Windows:31 python setup.py build -c mingw32 install32 29 33 30 See docs.python.org/doc/install/ for more information on … … 60 57 61 58 59 # For historical reasons, PyGreSQL does not install itself as a single 60 # "pygresql" package, but as two top-level modules "pg", providing the 61 # classic interface, and "pgdb" for the modern DB-API 2.0 interface. 62 # These two top-level Python modules share the same C extension "_pg". 63 64 py_modules = ['pg', 'pgdb'] 65 c_sources = ['pgmodule.c'] 66 67 62 68 def pg_config(s): 63 69 """Retrieve information about installed version of PostgreSQL.""" … … 82 88 83 89 pg_version = pg_version() 84 py_modules = ['pg', 'pgdb']85 90 libraries = ['pq'] 86 91 # Make sure that the Python header files are searched before … … 178 183 license="Python", 179 184 py_modules=py_modules, 180 ext_modules=[Extension('_pg', ['pgmodule.c'],185 ext_modules=[Extension('_pg', c_sources, 181 186 include_dirs=include_dirs, library_dirs=library_dirs, 182 187 define_macros=define_macros, undef_macros=undef_macros,
Note: See TracChangeset
for help on using the changeset viewer.