diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 92a5137..e1912f0 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -17,7 +17,7 @@ jobs: bash -exc '/opt/python/cp39-cp39/bin/pip install --upgrade pip setuptools && \ yum install -y epel-release && \ yum-config-manager --enable epel && \ - yum install -y openblas-devel gcc && \ + yum install -y openblas-serial gcc && \ export src=${GITHUB_WORKSPACE:-/src/pyscf-forge} && \ export dst=${GITHUB_WORKSPACE:-/src/pyscf-forge}/linux-wheels && \ mkdir -p /root/wheelhouse $src/linux-wheels && \ @@ -54,7 +54,7 @@ jobs: bash -exc '/opt/python/cp39-cp39/bin/pip install --upgrade pip setuptools && \ yum install -y epel-release && \ yum-config-manager --enable epel && \ - yum install -y openblas-devel gcc && \ + yum install -y openblas-serial gcc && \ export src=${GITHUB_WORKSPACE:-/src/pyscf-forge} && \ export dst=${GITHUB_WORKSPACE:-/src/pyscf-forge}/linux-wheels && \ mkdir -p /root/wheelhouse $src/linux-wheels && \ @@ -86,20 +86,11 @@ jobs: ls ${{ github.workspace }}/dist - name: Publish to PyPI # if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags') - uses: pypa/gh-action-pypi-publish@release/v1 - with: - user: __token__ - #password: ${{ secrets.PYPI_TEST_API_TOKEN }} - #repository_url: https://test.pypi.org/legacy/ - password: ${{ secrets.PYPI_API_TOKEN }} - packages-dir: ${{ github.workspace }}/dist - verbose: true - - name: Publish to PyPI run: | pip3 install twine export TWINE_USERNAME=__token__ export TWINE_PASSWORD="${{ secrets.PYPI_API_TOKEN }}" - twine upload --verbose linux-wheels/* + twine upload --verbose dist/* # release-pypi-macos-x86: # name: Build wheels for macos diff --git a/MANIFEST.in b/MANIFEST.in index 5dc82c6..bcb8d15 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -1,5 +1,5 @@ include MANIFEST.in -include README.md setup.py CHANGELOG LICENSE +include README.md setup.py CHANGELOG LICENSE NOTICE global-exclude *.py[cod] prune pyscf/lib/build