-
Notifications
You must be signed in to change notification settings - Fork 18
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 #15 from paulromano/release-0.1.0
Add GH action for publishing to PyPI
- Loading branch information
Showing
8 changed files
with
81 additions
and
13 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,26 @@ | ||
name: Upload Python Package | ||
|
||
on: | ||
release: | ||
types: [published] | ||
|
||
jobs: | ||
deploy: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Set up Python | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: '3.x' | ||
- name: Install dependencies | ||
run: | | ||
python -m pip install --upgrade pip | ||
pip install build | ||
- name: Build package | ||
run: python -m build | ||
- name: Publish a Python distribution to PyPI | ||
uses: pypa/gh-action-pypi-publish@release/v1 | ||
with: | ||
user: __token__ | ||
password: ${{ secrets.PYPI_API_TOKEN }} |
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 |
---|---|---|
|
@@ -14,10 +14,7 @@ questions, please contact [[email protected]](mailto:[email protected]). | |
|
||
## Installation | ||
|
||
- git clone https://github.com/watts-dev/watts | ||
- cd watts | ||
- pip install -U pip | ||
- pip install . | ||
- pip install watts | ||
|
||
## Documentation | ||
|
||
|
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,10 @@ | ||
[ | ||
{ | ||
"name": "dev", | ||
"version": "latest" | ||
}, | ||
{ | ||
"name": "0.1.0", | ||
"version": "v0.1.0" | ||
} | ||
] |
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,14 +1,27 @@ | ||
[metadata] | ||
name = watts | ||
version = 0.0.1 | ||
version = 0.1.0 | ||
author = UChicago Argonne, LLC | ||
author_email = [email protected] | ||
description = Workflow and Template Toolkit for Simulation | ||
long_description = file: README.md | ||
long_description = | ||
WATTS (Workflow and Template Toolkit for Simulation) provides a set of | ||
Python classes that can manage simulation workflows for multiple codes where | ||
information is exchanged at a coarse level. For each code, input files rely | ||
on placeholder values that are filled in based on a set of user-defined | ||
parameters. | ||
|
||
WATTS is being developed with support from Argonne National Laboratory. For | ||
any questions, please contact [[email protected]](mailto:[email protected]). | ||
long_description_content_type = text/markdown | ||
license = MIT License | ||
url = https://github.com/watts-dev/watts | ||
project_urls = | ||
Bug Tracker = https://github.com/watts-dev/watts/issues | ||
Documentation = https://watts.readthedocs.io | ||
Source Code = https://github.com/watts-dev/watts | ||
classifiers = | ||
Development Status :: 2 - Pre-Alpha | ||
Development Status :: 3 - Alpha | ||
Intended Audience :: Developers | ||
Intended Audience :: End Users/Desktop | ||
Intended Audience :: Science/Research | ||
|
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 |
---|---|---|
|
@@ -11,3 +11,5 @@ | |
|
||
# This allows a user to write watts.Quantity | ||
from astropy.units import Quantity | ||
|
||
__version__ = '0.1.0' |