Skip to content

Commit

Permalink
Merge pull request #6 from MSD-IRIMAS/aif/add-pypi
Browse files Browse the repository at this point in the history
[ENH] Fix name of project
  • Loading branch information
hadifawaz1999 authored Jul 29, 2024
2 parents 34fc7b3 + 60a5d0d commit d60e652
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 6 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Upload Python Package to PyPI when a Release is Created

on:
release:
types: [created]

jobs:
pypi-publish:
name: Publish release to PyPI
runs-on: ubuntu-latest
environment:
name: pypi
url: https://pypi.org/p/elastic_warping_vis
permissions:
id-token: write
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.10"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install setuptools wheel
- name: Build package
run: |
python -m pip install build
python -m build
- name: Publish package distributions to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ requires = ["setuptools>61", "wheel", "toml", "build"]
build-backend = "setuptools.build_meta"

[project]
name = "elastic-warping-visualization"
name = "elastic_warping_vis"
version = "0.1.0"
description = " Visualization of Elastic Warping of Time Series Data "
authors = [
Expand Down
5 changes: 0 additions & 5 deletions setup.py

This file was deleted.

0 comments on commit d60e652

Please sign in to comment.