-
Notifications
You must be signed in to change notification settings - Fork 109
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
rainfall_runoff_identify by Wang, Yang and bmi by Wang, Jingyi, but b…
…oth have some bugs to be fixed * add some files * add wangjingyi's code * add requirements.txt * add dmca_esr.py and its test to util directory * fix mistake in test_session_division.py * fix mistake in test_session_division.py * change pypi distribute workflow * update workflow and add user * update workflow * update setup.py to add long_description * update setup.py to add long_description * Update setup.py change pypi project name * add bim package for env * delete xaj dir * refactor xajbim-related funcs, but not fully tested yet * delete some unused lines in xaj * add files from cookiecutter template * Create publish-to-pypi-token.yml * Update setup.py --------- Co-authored-by: forestbat <[email protected]>
- Loading branch information
1 parent
eee8839
commit 56bc492
Showing
12 changed files
with
18,686 additions
and
104 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,37 @@ | ||
name: Publish Python distributions to PyPI | ||
|
||
on: | ||
push: | ||
workflow_dispatch: | ||
|
||
jobs: | ||
build-n-publish: | ||
name: Build and publish Python distributions to PyPI | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@master | ||
- name: Set up Python 3.9 | ||
uses: actions/setup-python@v1 | ||
with: | ||
python-version: 3.9 | ||
|
||
- name: Install pypa/build | ||
run: >- | ||
python -m | ||
pip install | ||
build | ||
--user | ||
- name: Build a binary wheel and a source tarball | ||
run: >- | ||
python -m | ||
build | ||
--sdist | ||
--wheel | ||
--outdir dist/ | ||
. | ||
- name: Publish distribution to PyPI | ||
uses: pypa/gh-action-pypi-publish@release/v1 | ||
with: | ||
user: __token__ | ||
password: ${{ secrets.HYDRO_XAJ_TOKEN }} |
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
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 |
---|---|---|
|
@@ -13,7 +13,8 @@ dependencies: | |
- spotpy=1.5.14 | ||
- seaborn | ||
- tqdm | ||
- pytest | ||
- yaml | ||
- bmipy | ||
- pip | ||
- pip: | ||
- hydrodataset |
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,4 @@ | ||
"""Calibrate XAJ model using DEAP""" | ||
|
||
import os | ||
import pickle | ||
import random | ||
|
Empty file.
Oops, something went wrong.