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
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