summaryrefslogtreecommitdiff
path: root/setup.py
diff options
context:
space:
mode:
Diffstat (limited to 'setup.py')
-rw-r--r--setup.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/setup.py b/setup.py
index d648e5c..10153cc 100644
--- a/setup.py
+++ b/setup.py
@@ -393,11 +393,10 @@ else:
sys.exit(1)
# generate a nice version string to avoid confusion when users report bugs
+version_flags.append('pq3') # no more a choice
for have in parser.get('build_ext', 'define').split(','):
if have == 'PSYCOPG_EXTENSIONS':
version_flags.append('ext')
- elif have == 'HAVE_PQPROTOCOL3':
- version_flags.append('pq3')
if version_flags:
PSYCOPG_VERSION_EX = PSYCOPG_VERSION + " (%s)" % ' '.join(version_flags)
else: