Unverified Commit ef5bf03f authored by Boris Bonev's avatar Boris Bonev Committed by GitHub
Browse files

Bbonev/ci deploy fix (#45)

* reverting deploy script

* moving setuptools install

* removing requirements

* bumping up version

* bumping up the torch-harmonics version to 0.7.0
parent 418d9576
...@@ -13,29 +13,23 @@ jobs: ...@@ -13,29 +13,23 @@ jobs:
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- name: Set up Python 3.10 - name: Set up Python 3.9
uses: actions/setup-python@v5 uses: actions/setup-python@v5
with: with:
python-version: '3.10' python-version: 3.9
- name: Install dependencies - name: Install dependencies
run: | run: |
python3 -m pip install --upgrade pip python -m pip install --upgrade pip
python3 -m pip install torch --index-url https://download.pytorch.org/whl/cpu python -m pip install torch --index-url https://download.pytorch.org/whl/cpu
python -m pip install setuptools wheel
- name: Install package - name: Install package
run: | run: |
python3 -m pip install -e . python -m pip install -e .
python3 -m pip install setuptools wheel
- name: Build a binary wheel and a source tarball - name: Build a binary wheel and a source tarball
run: | run: |
python3 setup.py sdist bdist_wheel python setup.py sdist bdist_wheel
# - name: Publish package to TestPyPI
# uses: pypa/gh-action-pypi-publish@master
# with:
# user: __token__
# password: ${{ secrets.TEST_PYPI_PASSWORD }}
# repository_url: https://test.pypi.org/legacy/
- name: Publish package to PyPI - name: Publish package to PyPI
uses: pypa/gh-action-pypi-publish@release/v1 uses: pypa/gh-action-pypi-publish@release/v1
with: with:
user: __token__ user: __token__
password: ${{ secrets.PYPI_PASSWORD }} password: ${{ secrets.PYPI_PASSWORD }}
\ No newline at end of file
...@@ -29,7 +29,7 @@ ...@@ -29,7 +29,7 @@
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
# #
__version__ = "0.7.0a" __version__ = "0.7.0"
from .sht import RealSHT, InverseRealSHT, RealVectorSHT, InverseRealVectorSHT from .sht import RealSHT, InverseRealSHT, RealVectorSHT, InverseRealVectorSHT
from .convolution import DiscreteContinuousConvS2, DiscreteContinuousConvTransposeS2 from .convolution import DiscreteContinuousConvS2, DiscreteContinuousConvTransposeS2
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment