-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #339 from SCM-NV/310
REL: Release nano-qmflows 0.12.0
- Loading branch information
Showing
11 changed files
with
108 additions
and
20 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,70 @@ | ||
name: Publish | ||
|
||
on: | ||
release: | ||
types: [published] | ||
|
||
jobs: | ||
build: | ||
name: Build wheels (${{ matrix.os }}; py ${{ matrix.version }}) | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
matrix: | ||
os: [macos-latest, ubuntu-latest] | ||
version: ["3.8", "3.9", "3.10"] | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- name: Setup conda | ||
uses: s-weigand/setup-conda@v1 | ||
with: | ||
update-conda: false | ||
|
||
- name: Install dependencies | ||
run: | | ||
conda create -n test -c conda-forge python=${{ matrix.version }} boost eigen libint==2.6.0 highfive | ||
source $CONDA/bin/activate test | ||
pip install Cython setuptools wheel pybind11>=2.2.4 | ||
- name: Conda info | ||
run: | | ||
source $CONDA/bin/activate test | ||
conda info | ||
- name: Conda list | ||
run: conda list -n test | ||
|
||
- name: Build wheels | ||
run: | | ||
source $CONDA/bin/activate test | ||
if [[ "${{ matrix.os }}" == "ubuntu-latest" ]] && [[ "${{ matrix.version }}" == "3.10" ]]; then | ||
python setup.py sdist bdist_wheel | ||
else | ||
python setup.py bdist_wheel | ||
fi | ||
- name: Upload wheels | ||
uses: actions/upload-artifact@v2 | ||
with: | ||
path: dist | ||
|
||
publish: | ||
name: Publish wheels | ||
runs-on: ubuntu-latest | ||
needs: [build] | ||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- name: Download wheels | ||
uses: actions/download-artifact@v2 | ||
|
||
- name: Show wheels | ||
run: ls -l artifact/ | ||
|
||
- name: Publish wheels | ||
uses: pypa/gh-action-pypi-publish@master | ||
with: | ||
user: __token__ | ||
password: ${{ secrets.PYPI_TOKEN }} | ||
packages_dir: artifact/ |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -93,4 +93,5 @@ input_parameters.yml | |
.mypy_cache/ | ||
|
||
# temporal files | ||
tmp | ||
tmp | ||
.DS_Store |
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 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 |
---|---|---|
@@ -1 +1 @@ | ||
__version__ = '0.11.0' | ||
__version__ = '0.12.0' |
Empty file.
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 |
---|---|---|
@@ -1,5 +1,6 @@ | ||
[metadata] | ||
description_file = README.rst | ||
license_file = LICENSE | ||
|
||
[aliases] | ||
# Define `python setup.py test` | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,4 +22,4 @@ scipy | |
schema | ||
pyyaml>=5.1 | ||
plams>=1.5.1 | ||
qmflows@git+https://github.com/SCM-NV/qmflows@master | ||
qmflows>=0.11.0 |