summaryrefslogtreecommitdiff
path: root/pymssql/bld.bat
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/bld.bat
parent20ecff4663d3fa54bf52960a33383fb8bce8dde6 (diff)
downloadastroconda-dev-e349021b1eff5167f8673147a58a7aaa2181f3ca.tar.gz
Initial commit of pymssql (#48)
Diffstat (limited to 'pymssql/bld.bat')
-rw-r--r--pymssql/bld.bat11
1 files changed, 11 insertions, 0 deletions
diff --git a/pymssql/bld.bat b/pymssql/bld.bat
new file mode 100644
index 0000000..45ab2f4
--- /dev/null
+++ b/pymssql/bld.bat
@@ -0,0 +1,11 @@
+del _mssql.c
+"%PYTHON%" setup.py build_ext -I "%PREFIX%"\include -L "%PREFIX%"\lib
+if errorlevel 1 exit 1
+"%PYTHON%" setup.py install --single-version-externally-managed --record=record.txt
+if errorlevel 1 exit 1
+
+:: Add more build steps here, if they are necessary.
+
+:: See
+:: http://docs.continuum.io/conda/build.html
+:: for a list of environment variables that are set during the build process.