Skip to content

Commit

Permalink
Merge branch 'develop' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
orbeckst authored Oct 10, 2024
2 parents 0514b16 + c719914 commit c31eed0
Show file tree
Hide file tree
Showing 3 changed files with 59 additions and 5 deletions.
57 changes: 57 additions & 0 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
name: Build and upload to PyPi

on:
push:
tags:
- "*"
release:
types:
- published

jobs:
test_pypi_push:
environment:
name: TestPyPi
url: https://test.pypi.org/p/MDPOW
permissions:
id-token: write
if: |
github.repository == 'Becksteinlab/MDPOW' &&
(github.event_name == 'push' && startsWith(github.ref, 'refs/tags/'))
name: "TestPyPi: Build and upload pure Python wheels"
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4

- name: testpypi_deploy
uses: MDAnalysis/pypi-deployment@main
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/')
with:
test_submission: true
package_name: 'MDPOW'
module_name: 'mdpow'
tests: false

pypi_push:
environment:
name: PyPi
url: https://pypi.org/p/MDPOW
permissions:
id-token: write
if: |
github.repository == 'Becksteinlab/MDPOW' &&
(github.event_name == 'release' && github.event.action == 'published')
name: "PyPi: Build and upload pure Python wheels"
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4

- name: pypi_deploy
uses: MDAnalysis/pypi-deployment@main
if: github.event_name == 'release' && github.event.action == 'published'
with:
package_name: 'MDPOW'
module_name: 'gromacs'
tests: false
4 changes: 1 addition & 3 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
include setup.py setup.cfg COPYING INSTALL README.rst AUTHORS CHANGES
recursive-include doc *.html *.css *.js *.txt *.inv *.png
include setup.py setup.cfg COPYING INSTALL.rst README.rst AUTHORS CHANGES
graft mdpow/templates/
graft mdpow/top/
graft mdpow/top/oplsaa.ff/
include versioneer.py
include mdpow/_version.py
3 changes: 1 addition & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
# Copyright (c) 2010 Oliver Beckstein <[email protected]>
# Released under the GNU Public License 3 (or higher, your choice)

import sys
from setuptools import setup, find_packages
import versioneer

Expand Down Expand Up @@ -77,6 +76,6 @@
"pypdf",
],
# setup_requires=['pytest-runner',],
tests_require=["pytest", "pybol", "py"],
# tests_require=["pytest", "pybol", "py"],
zip_safe=True,
)

0 comments on commit c31eed0

Please sign in to comment.