Skip to content

Commit

Permalink
Add conda recipe in the repo directly
Browse files Browse the repository at this point in the history
  • Loading branch information
Guillaume Lemaitre committed Jul 10, 2016
1 parent aa5e428 commit 6db5116
Show file tree
Hide file tree
Showing 4 changed files with 56 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,6 @@ coverage:
html:
conda install -y sphinx sphinx_rtd_theme numpydoc
export SPHINXOPTS=-W; make -C doc html

conda:
conda-build conda-recipe
8 changes: 8 additions & 0 deletions conda-recipe/bld.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
"%PYTHON%" setup.py install
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.
9 changes: 9 additions & 0 deletions conda-recipe/build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/bin/bash

$PYTHON setup.py install

# 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.
36 changes: 36 additions & 0 deletions conda-recipe/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
package:
name: imbalanced-learn
version: "0.1.1"

source:
git_rev: 0.1.1
git_url: https://github.com/fmfn/UnbalancedDataset.git

requirements:
build:
- python
- setuptools
- numpy
- scipy
- scikit-learn
run:
- python
- numpy
- scipy
- scikit-learn

test:
requires:
- nose
- coverage
imports:
- imblearn

about:
home: https://github.com/fmfn/UnbalancedDataset
license: MIT
license_file: LICENSE

# See
# http://docs.continuum.io/conda/build.html for
# more information about meta.yaml

0 comments on commit 6db5116

Please sign in to comment.