Skip to content

Commit 6db5116

Browse files
author
Guillaume Lemaitre
committed
Add conda recipe in the repo directly
1 parent aa5e428 commit 6db5116

File tree

4 files changed

+56
-0
lines changed

4 files changed

+56
-0
lines changed

Makefile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,3 +28,6 @@ coverage:
2828
html:
2929
conda install -y sphinx sphinx_rtd_theme numpydoc
3030
export SPHINXOPTS=-W; make -C doc html
31+
32+
conda:
33+
conda-build conda-recipe

conda-recipe/bld.bat

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
"%PYTHON%" setup.py install
2+
if errorlevel 1 exit 1
3+
4+
:: Add more build steps here, if they are necessary.
5+
6+
:: See
7+
:: http://docs.continuum.io/conda/build.html
8+
:: for a list of environment variables that are set during the build process.

conda-recipe/build.sh

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
#!/bin/bash
2+
3+
$PYTHON setup.py install
4+
5+
# Add more build steps here, if they are necessary.
6+
7+
# See
8+
# http://docs.continuum.io/conda/build.html
9+
# for a list of environment variables that are set during the build process.

conda-recipe/meta.yaml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
package:
2+
name: imbalanced-learn
3+
version: "0.1.1"
4+
5+
source:
6+
git_rev: 0.1.1
7+
git_url: https://github.com/fmfn/UnbalancedDataset.git
8+
9+
requirements:
10+
build:
11+
- python
12+
- setuptools
13+
- numpy
14+
- scipy
15+
- scikit-learn
16+
run:
17+
- python
18+
- numpy
19+
- scipy
20+
- scikit-learn
21+
22+
test:
23+
requires:
24+
- nose
25+
- coverage
26+
imports:
27+
- imblearn
28+
29+
about:
30+
home: https://github.com/fmfn/UnbalancedDataset
31+
license: MIT
32+
license_file: LICENSE
33+
34+
# See
35+
# http://docs.continuum.io/conda/build.html for
36+
# more information about meta.yaml

0 commit comments

Comments
 (0)