diff --git a/.github/workflows/publish-to-pypi.yml b/.github/workflows/publish-to-pypi.yml index 46d4410..84a23e2 100644 --- a/.github/workflows/publish-to-pypi.yml +++ b/.github/workflows/publish-to-pypi.yml @@ -36,4 +36,4 @@ jobs: packages_dir: dist/ - name: Notify 3rd_party - run: curl -s ${{ secrets.DEPLOY_HOOK_URL }} + run: curl -s ${{ secrets.DEPLOY_HOOK_URL }} -o /dev/null diff --git a/README.md b/README.md index 284d724..8650119 100644 --- a/README.md +++ b/README.md @@ -4,15 +4,17 @@ This package provides a utility `mh_python` to translate MATLAB into Python form The generated Python code hope to be directly runnable with the [mat2py](https://mat2py.org) framework. This `mh_python` utility was initially developed under fork of [MISS_HIT](https://github.com/florianschanda/miss_hit) and -then exported to a seperated [branch](https://github.com/mat2py/miss_hit/tree/mh_python) for uploading to [PyPi](https://pypi.org/project/mh_python/). +then exported to a seperated [branch](https://github.com/mat2py/miss_hit/tree/mh_python) for uploading to [PyPi](https://pypi.org/project/mh-python/). We hope to merge this utility back to `miss_hit` after it is stable. ## Usage +Try it online [here](https://translate.mat2py.org/). + ```python # must install -python3 -m pip install mh_python +python3 -m pip install mh-python # recommend install for prettify generated code python3 -m pip install black isort --upgrade diff --git a/setup.py b/setup.py index 5c4cbcc..d2280b1 100644 --- a/setup.py +++ b/setup.py @@ -8,7 +8,7 @@ setuptools.setup( name="mh_python", - version="0.0.1", + version="0.0.10", author="Chaoqing Wang", author_email="chaoqingwang.nick@gmail.com", description="Matlab to Python/Numpy translator", @@ -17,7 +17,7 @@ url="https://translate.mat2py.org", license="GNU Affero General Public License v3", packages=["mh_python"], - install_requires=["miss_hit_core>=0.9.30"], + install_requires=["miss-hit-core>=0.9.30"], python_requires=">=3.6, <4", classifiers=[ "Development Status :: 2 - Pre-Alpha",