Commit Graph

23 Commits

Author SHA1 Message Date
Daniele Varrazzo
44ba7df67f Docs build process and docs cleaned up 2015-04-28 09:30:59 +01:00
Daniele Varrazzo
f7ee006bef Use virtualenv as build environment for the docs 2014-08-24 23:11:07 +01:00
Daniele Varrazzo
b8b15637aa Take the PYTHONPATH into account when building the docs 2014-08-24 22:11:02 +01:00
Daniele Varrazzo
1af4bd83c4 Stop distributing the compiled documentation with the source 2013-04-07 22:02:38 +01:00
Daniele Varrazzo
929d62053a Merge branch 'python2' into python3
Conflicts:
	NEWS-2.3
	setup.py
2011-01-02 03:28:00 +01:00
Daniele Varrazzo
17f69ba735 Fixed Makefile dependencies of the test suite. 2011-01-02 03:00:32 +01:00
Daniele Varrazzo
afb87bb10a Fixed "building" of purelib files with make.
Using build instead of build_py forced build_ext to run too, which may
fail to run as the option PG_CONFIG is not passed (or, worse, we may end
up building against the wrong pg_config).

Also touching the target file as make seems considering the source file
newer than the destination when the timestamp is the same (as it is
because the file is usually just copied).
2011-01-02 02:44:56 +01:00
Daniele Varrazzo
3e94375cf7 Merge branch 'python2' into python3
Conflicts:
	ChangeLog
	NEWS-2.3
	lib/extensions.py
	psycopg/microprotocols.c
	setup.py
2011-01-01 17:14:54 +01:00
Daniele Varrazzo
f697410ab4 The tests are run from the external of the package.
If __init__ is treated as a script, relative import fail.
2010-12-21 04:49:16 +00:00
Daniele Varrazzo
9b29282ee4 'make check' runs the test in the build directory.
This way tests can be run win Py3 too, as the setup 2to3s them.
2010-12-21 04:02:13 +00:00
Daniele Varrazzo
a30e461038 The Makefile can run with both Python 2 and 3. 2010-12-12 16:20:02 +00:00
Daniele Varrazzo
13c2f5a78b Added target to package the docs for PyPI documentation. 2010-12-04 23:14:03 +00:00
Federico Di Gregorio
5f80dd38c4 Removed runtests target; checks is the default for Makefiles 2010-12-01 21:55:42 +01:00
Federico Di Gregorio
a411f85354 Removed default test database from Makefile
The default is already in test/__init__.py and the Makefile was
overwriting the PSYCOPG2_TESTDB env variable.
2010-12-01 21:29:33 +01:00
Daniele Varrazzo
19ead4a5cb Test cleanup.
Tests pass or fail gracefully on older PostgreSQL versions.

If unittest2 is available, skip tests instead of printing warnings.
2010-11-19 03:55:37 +00:00
Daniele Varrazzo
58079c6c91 Fixed dependencies of the sdist target 2010-11-15 09:35:28 +00:00
Daniele Varrazzo
0a2856477c The Makefile can receive the pg_config location. 2010-11-14 18:23:09 +00:00
Daniele Varrazzo
78dfbfb94a Fixed dependencies to build the docs. 2010-11-13 20:31:53 +00:00
Daniele Varrazzo
d07791cfe9 Fixed setuptools installation from scratch. 2010-11-13 20:01:48 +00:00
Daniele Varrazzo
9ffcb90038 Added flesh to the Makefile.
Now it can be used to build, make the docs (including installing
dependencies), run the tests, build the sdist.
2010-11-13 19:45:45 +00:00
Daniele Varrazzo
6cb949d371 Try to install the hstore type in the test database. 2010-11-05 09:34:52 +00:00
James Henstridge
fc2b684843 * runtests.py: add a harness to run all the psycopg tests against
the version built by distutils.
2008-02-27 02:29:55 +00:00
Daniele Varrazzo
67afd678b0 Added 'make check' target, running all the available tests.
Most of the updates have been provided by James Henstridge.

Closes ticket #195.
2007-11-11 10:40:12 +00:00