summaryrefslogtreecommitdiff
path: root/pymssql/build.sh
diff options
context:
space:
mode:
Diffstat (limited to 'pymssql/build.sh')
-rw-r--r--pymssql/build.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/pymssql/build.sh b/pymssql/build.sh
new file mode 100644
index 0000000..e6f6701
--- /dev/null
+++ b/pymssql/build.sh
@@ -0,0 +1,7 @@
+#!/bin/bash
+
+# Force regeneration of this since we patched out
+# the usage of `DBVERSION_80` in src/_mssql.pyx
+test -f _mssql.c && rm _mssql.c
+$PYTHON setup.py build_ext -I ${PREFIX}/include -L ${PREFIX}/lib
+$PYTHON setup.py install --single-version-externally-managed --record=record.txt