Skip to content

Commit

Permalink
feat: publish to pypi (#61)
Browse files Browse the repository at this point in the history
  • Loading branch information
salimhamed authored Mar 20, 2024
1 parent e5bc7cb commit de78b56
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,6 @@ jobs:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
run: poetry run semantic-release version --no-changelog
- name: Publish to PyPI
run: echo "Publishing to PyPI!"
# TODO: Uncomment the following line to publish to PyPI
# run: poetry publish
env:
POETRY_PYPI_TOKEN_PYPI: ${{ secrets.PYPI_API_TOKEN }}
run: poetry publish
5 changes: 1 addition & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,7 @@ the Jungle Scout API.
## Installation

```bash
# TODO: remove the personal access token when this project is published to pypi
# while this repository is still private, install
# using Github personal access token for authentication
pip install git+https://${GITHUB_PERSONAL_TOKEN}@github.com/Junglescout/junglescout-python-client.git@main
pip install junglescout-client
```

## Usage
Expand Down
2 changes: 1 addition & 1 deletion docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Install the Jungle Scout Python client.

.. code-block:: bash
pip install jungle-scout-python-client
pip install junglescout-client
Import the client and create an instance.

Expand Down
5 changes: 4 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
[tool.poetry]
package-mode = true
name = "junglescout"
name = "junglescout-client"
packages = [
{ include = "junglescout", from = "src" },
]
version = "0.0.1"
license = "MIT"
authors = ["Jungle Scout <[email protected]>"]
Expand Down

0 comments on commit de78b56

Please sign in to comment.