Skip to content

Commit d170f07

Browse files
committed
Add setuptools installation to script
1 parent 5f0628f commit d170f07

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,3 +21,4 @@ serialize.c
2121
pycparser
2222
/Mako*
2323
/site-packages
24+
/setuptools*

install_python_deps.sh

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ pythondir=$currentdir/site-packages
77
mkdir -p $pythondir
88
export PYTHONPATH=$PYTHONPATH:$pythondir
99

10+
# pycparser
1011
pushd $currentdir
1112
git clone https://github.com/eliben/pycparser.git
1213

@@ -17,6 +18,18 @@ popd
1718
rm -rf ./pycparser
1819
popd
1920

21+
pushd $current_dir
22+
curl -O https://files.pythonhosted.org/packages/6e/9c/6a003320b00ef237f94aa74e4ad66c57a7618f6c79d67527136e2544b728/setuptools-40.4.3.zip
23+
unzip setuptools-40.4.3.zip
24+
pushd setuptools-40.4.3
25+
python setup.py install --install-lib $pythondir --install-scripts=$pythondir/bin
26+
popd
27+
28+
rm setuptools-40.4.3.zip
29+
rm -rf ./setuptools-40.4.3
30+
popd
31+
32+
# Mako
2033
pushd $currentdir
2134
makover=1.0.7
2235
curl -O https://files.pythonhosted.org/packages/eb/f3/67579bb486517c0d49547f9697e36582cd19dafb5df9e687ed8e22de57fa/Mako-$makover.tar.gz

0 commit comments

Comments
 (0)