Skip to content

Commit

Permalink
Update the install commands
Browse files Browse the repository at this point in the history
  • Loading branch information
seisman committed Mar 26, 2024
1 parent d9f9a9b commit 875bcd7
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ jobs:
run: |
pip install -r requirements.txt
pip install sphinx sphinx-intl sphinx_rtd_theme
python setup.py sdist --formats=zip
pip install dist/*
python -m build --sdist
python -m install dist/*
- name: Build documentation
run: make doc
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pypi-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
- name: Build and publish
run: |
python setup.py sdist bdist_wheel
python -m build
ls -lh dist/
- name: Publish to PyPI
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ jobs:
run: |
pip install -r requirements.txt
pip install pytest>=6.0 pytest-cov coverage[toml] codecov setuptools
python setup.py sdist --formats=zip
pip install dist/*
python -m build --sdist
python -m pip install dist/*
- name: Install win32tools
run: |
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ help:
@echo ""

install:
pip install --no-deps -e .
python -m pip install --no-deps -e .

test:
pytest tests/test_*.py
Expand Down
6 changes: 3 additions & 3 deletions docs/installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,17 +15,17 @@ Install HinetPy

To install the latest **release/stable** version::

pip install HinetPy
python -m pip install HinetPy

Or install the **developing/unstable** version::

git clone https://github.com/seisman/HinetPy
cd HinetPy
python setup.py install
python -m pip install .

If you want to uninstall HinetPy, just run::

pip uninstall HinetPy
python -m pip uninstall HinetPy

Build win32tools
----------------
Expand Down

0 comments on commit 875bcd7

Please sign in to comment.