-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update conda recipe to be more like conda-forge feedstock #661
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
{% set name = "zppy" %} | ||
{% set version = "3.0.0rc1" %} | ||
{% set python_min = "3.9" %} | ||
|
||
package: | ||
name: {{ name|lower }} | ||
|
@@ -11,24 +12,24 @@ source: | |
|
||
build: | ||
number: 0 | ||
script: "{{ PYTHON }} -m pip install . --no-deps -vv" | ||
script: {{ PYTHON }} -m pip install . --no-deps --no-build-isolation -vv | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It is best to not allow The quotes are not needed. |
||
noarch: python | ||
entry_points: | ||
- zppy = zppy.__main__:main | ||
Comment on lines
-16
to
-17
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Entry points no longer need to be defined in conda recipes and removing them removes one more maintenance step we would otherwise have to do. |
||
|
||
requirements: | ||
host: | ||
- python >=3.9 | ||
- python {{ python_min }} | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Here and below, conda-forge has moved to defining |
||
- pip | ||
- setuptools | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
||
run: | ||
- python >=3.9 | ||
- python >={{ python_min }} | ||
- configobj >=5.0.0,<6.0.0 | ||
- jinja2 >=2.0.0 | ||
- mache >=1.3.2 | ||
- mpas_tools >=0.15.0 | ||
|
||
test: | ||
requires: | ||
- python {{ python_min }} | ||
- pip | ||
imports: | ||
- zppy | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This needs to be defined here but is set automatically as part of the infrastructure on conda-forge feedstocks.