package:
  name: exdir
  version: {{ environ.get("GIT_STRING", "0.0.0_custom")|replace("v", "")|replace("-", "_") }}

source:
  git_url: ..

build:
  noarch: python
  script: python setup.py install

requirements:
  build:
    - python
    - setuptools

  run:
    - python
    - setuptools
    - numpy
    - scipy
    - ruamel_yaml
    - pyyaml
    - pathlib # [py2k]
    - enum34  # [py2k]
    - six  # [py2k]

test:
  requires:
    - pytest
    - pytest-benchmark
    - h5py
    - six
    - coverage
    - codecov
    - sphinx
    - quantities

  source_files:
    - tests
    - docs
  imports:
    - exdir
  commands:
    - python -c "import exdir; print(exdir.__version__)"
    - coverage run --source tests -m py.test -s
    - coverage report # [py3k]
    - codecov # [py3k]
    - cd docs ; make doctest # [py3k]

about:
  home: https://github.com/CINPLA/exdir/
  license: MIT
  license_file: LICENSE

package:
  name: exdir
  version: {{ environ.get("GIT_STRING", "0.0.0_custom")|replace("v", "")|replace("-", "_") }}

source:
  git_url: ..

build:
  noarch: python
  script: python -m pip install --no-deps --ignore-installed .

requirements:
  build:
    - python
    - setuptools
    - jupyter

  run:
    - python
    - setuptools
    - numpy
    - scipy
    - ruamel_yaml
    - pyyaml
    - pathlib # [py2k]
    - enum34  # [py2k]
    - six  # [py2k]

test:
  requires:
    - pytest
    - pytest-benchmark
    - h5py
    - six
    - coverage
    - codecov
    - sphinx
    - quantities

  source_files:
    - tests
    - docs
  imports:
    - exdir
  commands:
    - python -c "import exdir; print(exdir.__version__)"
    - coverage run --source tests -m py.test -s
    - coverage report # [py3k]
    - codecov # [py3k]
    - cd docs ; make doctest # [py3k]

about:
  home: https://github.com/CINPLA/exdir/
  license: MIT
  license_file: LICENSE

Use pip instead of setup.py to get extra files installed
Use pip instead of setup.py to get extra files installed
