Skip to content

Commit ab32404

Browse files
committed
Added additional lib download for linux
1 parent ccdb8d6 commit ab32404

1 file changed

Lines changed: 10 additions & 1 deletion

File tree

‎setup.py‎

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
def download_library():
1616
import urllib
1717

18-
url = "http://www.sqlparser.com/dl/gsp_c_linux_fpic_v024.tar.gz"
18+
url = "http://www.sqlparser.com/dl/gsp_c_linux_v024.tar.gz"
1919
file_name = "gsp_c_lib.tar.gz"
2020

2121
if os.name == "nt":
@@ -43,6 +43,15 @@ def download_library():
4343
archive = tarfile.open(file_name)
4444
archive.extractall(SQLPARSER_DIR)
4545

46+
print "Dowloading additional libraries..."
47+
url = "http://www.sqlparser.com/dl/gsp_c_linux_fpic_v024.tar.gz"
48+
file_name = 'gsp_c_fpic_libs.tar.gz'
49+
50+
urllib.urlretrieve(url, file_name)
51+
52+
archive = tarfile.open(file_name)
53+
archive.extractall(SQLPARSER_DIR + 'lib/')
54+
4655
print "Done!"
4756

4857

0 commit comments

Comments
 (0)