summaryrefslogtreecommitdiff
path: root/pymssql/build.sh
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@users.noreply.github.com>2017-08-08 14:24:47 -0400
committerGitHub <noreply@github.com>2017-08-08 14:24:47 -0400
commite349021b1eff5167f8673147a58a7aaa2181f3ca (patch)
treead3599a404f3d0084c4a927380b1864a6923e10a /pymssql/build.sh
parent20ecff4663d3fa54bf52960a33383fb8bce8dde6 (diff)
downloadastroconda-dev-e349021b1eff5167f8673147a58a7aaa2181f3ca.tar.gz
Initial commit of pymssql (#48)
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