forked from danse-inelastic/multiphonon
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* conda environment creations as a substep * python wheel is passed to the next job * unused build files removed * workflow renamed * notes for the conda packages
- Loading branch information
Showing
11 changed files
with
166 additions
and
61 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
# 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 git_describe_number = environ.get('GIT_DESCRIBE_NUMBER', '0') | string %} | ||
|
||
package: | ||
name: multiphonon | ||
version: {{version}} | ||
|
||
channels: | ||
- conda-forge | ||
|
||
source: | ||
path: .. | ||
|
||
build: | ||
noarch: python | ||
number: {{ git_describe_number }} | ||
string: py{{py}} | ||
script: {{ PYTHON }} -m pip install . --no-deps --ignore-installed -vvv | ||
|
||
requirements: | ||
host: | ||
- python | ||
- versioningit | ||
|
||
build: | ||
- setuptools | ||
- versioningit | ||
|
||
run: | ||
- numpy | ||
- histogram | ||
- scipy | ||
- matplotlib | ||
- mantid | ||
|
||
test: | ||
imports: | ||
- multiphonon | ||
|
||
|
||
about: | ||
home: {{ url }} | ||
license: {{ license }} | ||
license_family: GPL | ||
license_file: ../LICENSE | ||
summary: {{ description }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
#Only for conda build with boa depedency | ||
#Only use for building a conda package: conda mambabuild | ||
name: multiphonon_conda_build_only | ||
channels: | ||
- conda-forge | ||
- mantid | ||
- mcvine | ||
dependencies: | ||
- anaconda-client | ||
- boa | ||
- check-wheel-contents | ||
- conda-build | ||
- conda-verify | ||
- coverage | ||
- mantid >= 6.4 | ||
- matplotlib | ||
- libmamba | ||
- libarchive | ||
- pre-commit | ||
- python >=3.8 | ||
- pytest | ||
- pytest-cov | ||
- python-build | ||
- sphinx | ||
- sphinx-rtd-theme | ||
- numpydoc | ||
- versioningit | ||
- setuptools | ||
- coveralls | ||
- ipywidgets # used in one test | ||
- pyre == 0.8.3 | ||
- histogram | ||
- pip | ||
- pip: | ||
- numpy #<2.0.0 | ||
- scipy | ||
- ipywe == 0.1.3a1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters