Skip to content

Commit

Permalink
get version number from setup.py
Browse files Browse the repository at this point in the history
  • Loading branch information
maxibor committed May 18, 2020
1 parent 54ba42f commit bf4587f
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions conda/meta.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
{% set version = "0.11" %}

{% set setup_data = load_setup_py_data() %}
package:
name: pydamage
version: {{ version }}
version: {{ setup_data['version'] }}

source:
git_rev: {{ version }}
git_rev: {{ setup_data['version'] }}
git_url: https://github.com/maxibor/pydamage.git

build:
Expand Down

0 comments on commit bf4587f

Please sign in to comment.