Skip to content

Commit

Permalink
Merge bea4653 into 2dca90b
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelsJP committed Feb 2, 2021
2 parents 2dca90b + bea4653 commit 8bef170
Show file tree
Hide file tree
Showing 5 changed files with 67 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .condarc
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
channels:
- michaelsjp

show_channel_urls: True
15 changes: 15 additions & 0 deletions .github/workflows/conda-package.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: Conda Package

on: [push, pull_request]

jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: publish-to-conda
uses: fcakyon/conda-publish-action@v1.3
with:
subdir: 'conda.recipe'
anacondatoken: ${{ secrets.ANACONDA_TOKEN }}
platforms: 'win osx linux'
3 changes: 3 additions & 0 deletions conda.recipe/bld.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
cd %RECIPE_DIR%\..
"%PYTHON%" setup.py install
if errorlevel 1 exit 1
2 changes: 2 additions & 0 deletions conda.recipe/build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
cd $RECIPE_DIR/..
$PYTHON setup.py install
43 changes: 43 additions & 0 deletions conda.recipe/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
{% set name = "openrouteservice" %}
{% set version = "2.3.0" %}

package:
name: "{{ name|lower }}"
version: "{{ version }}"

source:
git_url: https://github.com/GIScience/openrouteservice-py.git
git_rev: "v{{ version }}"


requirements:
build:
- python>=3.4
- pip
- requests>=2.0
- nose>=1.0
- responses>=0.10
- coveralls>=1.7.0
- coverage>=4.5.0
run:
- requests>=2.0
test:
imports:
- openrouteservice
source_files:
- openrouteservice
- test
requires:
- nose>1.0
- requests>=2.0
- responses>=0.10
- coveralls>=1.7.0
- coverage>=4.5.0
commands:
- nosetests -v

about:
home: https://github.com/GIScience/openrouteservice-py
license: Apache
license_family: BSD
license_file: LICENSE

0 comments on commit 8bef170

Please sign in to comment.