Skip to content

Commit

Permalink
take changes from original mh_python branch;
Browse files Browse the repository at this point in the history
  • Loading branch information
chaoqing committed May 24, 2022
1 parent 3bf89c2 commit 4fd450d
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/publish-to-pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

setuptools.setup(
name="mh_python",
version="0.0.1",
version="0.0.10",
author="Chaoqing Wang",
author_email="[email protected]",
description="Matlab to Python/Numpy translator",
Expand All @@ -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",
Expand Down

0 comments on commit 4fd450d

Please sign in to comment.