-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
92e07a9
commit a9ba03a
Showing
2 changed files
with
25 additions
and
11 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 |
---|---|---|
|
@@ -60,16 +60,29 @@ jobs: | |
- uses: actions/setup-python@v2 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
|
||
# ------------ build and install package | ||
- name: Install package | ||
# ------------ Install poetry | ||
- name: Setup pip/poetry | ||
run: | | ||
pip install -e . | ||
python setup.py sdist | ||
pip wheel . -w dist | ||
# ------------ publish to pypi | ||
- name: Publish to PyPI | ||
uses: pypa/gh-action-pypi-publish@release/v1 | ||
pip install -U pip poetry twine | ||
poetry config virtualenvs.create false | ||
# ------------ build and install package | ||
# - name: Install package | ||
# run: | | ||
# poetry install | ||
# poetry build | ||
- name: Build and publish to pypi | ||
uses: JRubics/[email protected] | ||
with: | ||
user: __token__ | ||
password: ${{ secrets.PYPI_TOKEN }} | ||
python_version: "3.7" | ||
poetry_version: "==1.1.6" # (PIP version specifier syntax) | ||
pypi_token: ${{ secrets.PYPI_TOKEN }} | ||
build_format: "sdist" | ||
repository_name: "markovflow" | ||
repository_url: "https://github.com/secondmind-labs/markovflow" | ||
ignore_dev_requirements: "yes" | ||
# # ------------ publish to pypi | ||
# - name: Publish to PyPI | ||
# uses: pypa/gh-action-pypi-publish@release/v1 | ||
# with: | ||
# user: __token__ | ||
# password: ${{ secrets.PYPI_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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,7 @@ | |
name = "markovflow" | ||
version = "0.0.7" | ||
description = "A Tensorflow based library for Time Series Modelling with Gaussian Processes" | ||
long_description = "A Tensorflow based library for Time Series Modelling with Gaussian Processes" | ||
authors = ["Markovflow Contributors <[email protected]>"] | ||
packages = [{include = "markovflow"}] | ||
|
||
|