install requirements-dev.txt on manylinux1
(cherry picked from commit 752e783884c4b0f7e6eac1d0aed47f8c60cbdb7f)
This commit is contained in:
parent
1a4f6b506e
commit
28c56f0597
3 changed files with 7 additions and 2 deletions
2
Makefile
2
Makefile
|
@ -8,7 +8,7 @@ sdist:
|
|||
python setup.py sdist --formats=gztar
|
||||
|
||||
pip:
|
||||
pip install -U pip cython tox nose chardet
|
||||
pip install -r requirements-dev.txt
|
||||
|
||||
twine:
|
||||
twine upload dist/cchardet-*.whl dist/cchardet-*.tar.gz
|
||||
|
|
|
@ -6,6 +6,7 @@ echo "arch=$ARCH"
|
|||
|
||||
for V in cp36-cp36m cp35-cp35m cp34-cp34m cp27-cp27m cp27-cp27mu; do
|
||||
PYBIN=/opt/python/$V/bin
|
||||
rm -rf build/ # Avoid lib build by narrow Python is used by wide python
|
||||
rm -rf build src/cchardet/__pycache__ src/cchardet/*.cpp src/cchardet/*.pyc src/cchardet/*.so src/cchardet.egg-info src/tests/__pycache__ src/tests/*.pyc
|
||||
$PYBIN/pip install -r requirements-dev.txt
|
||||
$PYBIN/python setup.py bdist_wheel -p manylinux1_${ARCH}
|
||||
done
|
||||
|
|
4
requirements-dev.txt
Normal file
4
requirements-dev.txt
Normal file
|
@ -0,0 +1,4 @@
|
|||
chardet==3.0.4
|
||||
Cython==0.27.3
|
||||
nose==1.3.7
|
||||
tox==2.9.1
|
Loading…
Reference in a new issue