Skip to content

Commit

Permalink
Auto versioning working
Browse files Browse the repository at this point in the history
  • Loading branch information
wfondrie committed Jun 20, 2020
1 parent 6c1587e commit 032ee8f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install setuptools wheel twine
pip install setuptools wheel twine pep517
- name: Build and publish
env:
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
run: |
python setup.py sdist bdist_wheel
python -m pep517.build --source --out-dir dist .
twine upload dist/*
3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
[build-system]
requires = ["setuptools>=42", "wheel", "setuptools_scm[toml]>=3.4"]
build-backend = "setuptools.build_meta"

[tool.setuptools_scm]
[tool.setuptools_scm]
1 change: 0 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@

setuptools.setup(
name="ppx",
use_scm_version=True,
author="William E Fondrie",
author_email="fondriew@gmail.com",
description="A Python interface to the ProteomeXchange Repository",
Expand Down

0 comments on commit 032ee8f

Please sign in to comment.