Skip to content

Commit

Permalink
Try to get the version from pyproject.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
mrahnis committed Jan 17, 2024
1 parent 311af50 commit 1b118ea
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions conda-recipe/meta.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{% set _version = load_file_data('./drapery/_version.py') %}
{% set version = _version.get('__version__') %}
{% set pyproject = load_file_data('pyproject.toml') %}
{% set version = pyproject.get('version') %}

package:
name: drapery
Expand Down

0 comments on commit 1b118ea

Please sign in to comment.