Stop compiling with Python 2.5

This commit is contained in:
Daniele Varrazzo 2016-08-15 01:06:42 +01:00
parent 1d950748af
commit 3b41c3a6f3
3 changed files with 3 additions and 4 deletions

View File

@ -17,7 +17,7 @@ The current `!psycopg2` implementation supports:
..
NOTE: keep consistent with setup.py and the /features/ page.
- Python 2 versions from 2.5 to 2.7
- Python 2 versions from 2.6 to 2.7
- Python 3 versions from 3.1 to 3.5
- PostgreSQL versions from 7.4 to 9.4

View File

@ -31,8 +31,8 @@
#include <stringobject.h>
#endif
#if PY_VERSION_HEX < 0x02050000
# error "psycopg requires Python >= 2.5"
#if PY_VERSION_HEX < 0x02060000
# error "psycopg requires Python >= 2.6"
#endif
/* hash() return size changed around version 3.2a4 on 64bit platforms. Before

View File

@ -33,7 +33,6 @@ Intended Audience :: Developers
License :: OSI Approved :: GNU Library or Lesser General Public License (LGPL)
License :: OSI Approved :: Zope Public License
Programming Language :: Python
Programming Language :: Python :: 2.5
Programming Language :: Python :: 2.6
Programming Language :: Python :: 2.7
Programming Language :: Python :: 3