summaryrefslogtreecommitdiff
path: root/setup.py
diff options
context:
space:
mode:
authorDaniele Varrazzo <daniele.varrazzo@gmail.com>2015-06-02 10:54:08 +0100
committerDaniele Varrazzo <daniele.varrazzo@gmail.com>2015-06-02 10:54:08 +0100
commit73d17e3c5e80c66738435cd6733e999cb9c21ca7 (patch)
treefe70a3b331cfe4876bf92bf39e89f168a3957c4e /setup.py
parentffd98a82c04642b73d76a4e60f8f58c355ae1126 (diff)
downloadpsycopg2-73d17e3c5e80c66738435cd6733e999cb9c21ca7.tar.gz
Dropped PG_VERSION_HEX constant
At PostgreSQL 10.0 it would have become awkward.
Diffstat (limited to 'setup.py')
-rw-r--r--setup.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/setup.py b/setup.py
index e42a5c1..2de8c5e 100644
--- a/setup.py
+++ b/setup.py
@@ -419,9 +419,6 @@ class psycopg_build_ext(build_ext):
define_macros.append(("PG_VERSION_NUM", "%d%02d%02d" %
(pgmajor, pgminor, pgpatch)))
- define_macros.append(("PG_VERSION_HEX", "0x%02X%02X%02X" %
- (pgmajor, pgminor, pgpatch)))
-
# enable lo64 if libpq >= 9.3 and Python 64 bits
if (pgmajor, pgminor) >= (9, 3) and is_py_64():
define_macros.append(("HAVE_LO64", "1"))