diff --git a/.github/workflows/release_packages.yaml b/.github/workflows/release_packages.yaml new file mode 100644 index 0000000..c2eba4a --- /dev/null +++ b/.github/workflows/release_packages.yaml @@ -0,0 +1,29 @@ +name: Publish to PyPI + +on: + release: + types: [created] + +jobs: + build-and-publish: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - name: Set up Python + uses: actions/setup-python@v4 + with: + python-version: '3.10' + + - name: Install dependencies + run: | + python -m pip install --upgrade pip + pip install build twine wheel + + - name: Build package + run: python -m build + + - name: Publish to PyPI + uses: pypa/gh-action-pypi-publish@release/v1 + with: + password: ${{ secrets.PYPI_API_TOKEN }} + repository_url: https://upload.pypi.org/legacy/ \ No newline at end of file diff --git a/CODE_OF_CONDUCT.md b/CODE_OF_CONDUCT.md index db49dda..83b0c0d 100644 --- a/CODE_OF_CONDUCT.md +++ b/CODE_OF_CONDUCT.md @@ -9,7 +9,7 @@ We, as contributors and maintainers, pledge to make participation in the Djelia - Avoid harassing, offensive, or discriminatory behavior. ## Enforcement -Inappropriate behavior can be reported to [support@djelia.cloud](mailto:support@djelia.cloud) or by messaging `@sudoping01` on GitHub. All reports will be reviewed and addressed promptly. +Inappropriate behavior can be reported to [support@naboopay.com](mailto:support@djelia.cloud) or by messaging `@sudoping01` or `lodjim` on GitHub. All reports will be reviewed and addressed promptly. ## Attribution This Code of Conduct is adapted from the [Contributor Covenant](https://www.contributor-covenant.org), version 2.1. \ No newline at end of file diff --git a/README.md b/README.md index be4c916..1905f70 100644 --- a/README.md +++ b/README.md @@ -29,6 +29,10 @@ Hey there! Welcome to this fun and practical workshop on using the Djelia Python Let's kick things off by installing the Djelia Python SDK with one of those magical commands. Run it in your terminal, and you're good to go! +```bash + pip install djelia +``` + Install the Djelia Python SDK directly from GitHub: ```bash @@ -37,6 +41,12 @@ Install the Djelia Python SDK directly from GitHub: Alternatively, use uv for faster dependency resolution: + +```bash + uv pip install djelia +``` + + ```bash uv pip install git+https://github.com/djelia/djelia-python-sdk.git ```