Skip to content

Commit

Permalink
MAINT Update and synchronize python badge in README (#350)
Browse files Browse the repository at this point in the history
  • Loading branch information
glemaitre committed Oct 9, 2017
1 parent d9c8c64 commit 9842210
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 21 deletions.
9 changes: 3 additions & 6 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

.. _scikit-learn-contrib: https://github.com/scikit-learn-contrib

|Landscape|_ |Travis|_ |AppVeyor|_ |Codecov|_ |CircleCI|_ |Python27|_ |Python35|_ |Pypi|_ |Gitter|_
|Landscape|_ |Travis|_ |AppVeyor|_ |Codecov|_ |CircleCI|_ |PythonVersion|_ |Pypi|_ |Gitter|_

.. |Landscape| image:: https://landscape.io/github/scikit-learn-contrib/imbalanced-learn/master/landscape.svg?style=flat
.. _Landscape: https://landscape.io/github/scikit-learn-contrib/imbalanced-learn/master
Expand All @@ -21,11 +21,8 @@
.. |CircleCI| image:: https://circleci.com/gh/scikit-learn-contrib/imbalanced-learn.svg?style=shield&circle-token=:circle-token
.. _CircleCI: https://circleci.com/gh/scikit-learn-contrib/imbalanced-learn/tree/master

.. |Python27| image:: https://img.shields.io/badge/python-2.7-blue.svg
.. _Python27: https://badge.fury.io/py/scikit-learn

.. |Python35| image:: https://img.shields.io/badge/python-3.5-blue.svg
.. _Python35: https://badge.fury.io/py/scikit-learn
.. |PythonVersion| image:: https://img.shields.io/pypi/pyversions/imbalanced-learn.svg
.. _PythonVersion: https://img.shields.io/pypi/pyversions/imbalanced-learn.svg

.. |Pypi| image:: https://badge.fury.io/py/imbalanced-learn.svg
.. _Pypi: https://badge.fury.io/py/imbalanced-learn
Expand Down
26 changes: 11 additions & 15 deletions conda-recipe/conda_deployement.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,16 @@

# This script is used to build and upload package to conda cloud
# in an automatic manner
for pyv in {2.7,3.5,3.6} ; do
mkdir build_conda
conda build --python=$pyv --output-folder build_conda imbalanced-learn
conda convert --platform all build_conda/*.tar.bz2 \
-o build_conda/
dirs=`ls -l "$PWD/build_conda"`
for d in build_conda/*/ ; do
for file in $d*
do
if [[ -f $file ]]; then
# upload each package
anaconda upload $file
fi
done
mkdir build_conda
conda build build_conda imbalanced-learn
dirs=`ls -l "$PWD/build_conda"`
for d in build_conda/*/ ; do
for file in $d*
do
if [[ -f $file ]]; then
# upload each package
anaconda upload $file
fi
done
rm -r build_conda
done
rm -r build_conda

0 comments on commit 9842210

Please sign in to comment.