summaryrefslogtreecommitdiff
path: root/setup.py
diff options
context:
space:
mode:
authorDaniele Varrazzo <daniele.varrazzo@gmail.com>2014-08-23 19:30:48 +0100
committerDaniele Varrazzo <daniele.varrazzo@gmail.com>2014-08-23 19:30:48 +0100
commit6e841a41e680f8c1570e97086cf923f923851e98 (patch)
tree1492a3d91bf996dccd97540bb8466b792a1489e5 /setup.py
parent6a5f7783619a3e8cb44cd6d611c81686533fd4d3 (diff)
downloadpsycopg2-6e841a41e680f8c1570e97086cf923f923851e98.tar.gz
Dropped PSYCOPG_EXTENSIONS flag
Building without extensions has been long broken and nobody really cares about a pure-DBAPI implementation (which could be created using a wrapper instead).
Diffstat (limited to 'setup.py')
-rw-r--r--setup.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/setup.py b/setup.py
index 92ac103..f08a4f3 100644
--- a/setup.py
+++ b/setup.py
@@ -511,10 +511,7 @@ you probably need to install its companion -dev or -devel package."""
# 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')
+version_flags.append('ext') # no more a choice
if version_flags:
PSYCOPG_VERSION_EX = PSYCOPG_VERSION + " (%s)" % ' '.join(version_flags)