Skip to content

Commit

Permalink
update build settings
Browse files Browse the repository at this point in the history
  • Loading branch information
searscr committed Feb 19, 2024
1 parent f8015e6 commit 4446b2c
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 86 deletions.
15 changes: 7 additions & 8 deletions conda.recipe/meta.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
# load information from setup.cfg/setup.py
{% set data = load_setup_py_data() %}
{% set license = data.get('license') %}
{% set description = data.get('description') %}
{% set url = data.get('url') %}
# load information from pyproject.toml
{% set pyproject = load_file_data('pyproject.toml') %}
{% set project = pyproject.get('project', {}) %}
{% set license = project.get('license').get('text') %}
{% set description = project.get('description') %}
{% set project_url = pyproject.get('project', {}).get('urls') %}
{% set url = project_url.get('homepage') %}
# this will get the version set by environment variable
{% set version = environ.get('VERSION') %}
{% set version_number = environ.get('GIT_DESCRIBE_NUMBER', '0') | string %}
Expand All @@ -28,9 +30,6 @@ requirements:
build:
- setuptools
- versioningit
- mantidworkbench
- qtpy
- pytest

run:
- python
Expand Down
72 changes: 0 additions & 72 deletions setup.cfg

This file was deleted.

6 changes: 0 additions & 6 deletions setup.py

This file was deleted.

0 comments on commit 4446b2c

Please sign in to comment.