Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,15 @@ updates:
target-branch: development
commit-message:
prefix: 'build'
include_scope: true
prefix-development: 'build'
include: "scope"
schedule:
interval: "daily"
- package-ecosystem: "github-actions"
directory: "/"
commit-message:
prefix: 'ci'
include_scope: true
include: "scope"
schedule:
interval: "daily"
ignore:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/bump-version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ on:
jobs:
bump:
env:
RELEASE_REPOSITORY: testpypi
RELEASE_PACKAGE_NAME: emnify-sdk-test-beta
RELEASE_REPOSITORY: pypi
RELEASE_PACKAGE_NAME: emnify-sdk
RELEASE_PYPI_TOKEN: ${{secrets.PYPI_RELEASE_TOKEN}}
name: Bump and Release
# Prevent circular workflow run
Expand Down
6 changes: 6 additions & 0 deletions DEVELOPMENT.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,9 @@ docker run -t -v $(pwd):/sdk emnify/python-sdk pytest --cov=emnify --cov-fail-un
```shell
bump2version minor
```

## Branching and PR

PR names must follow [angular convention](https://github.com/angular/angular/blob/main/CONTRIBUTING.md).

Squash changes while merging to `development` and do regular merge to `main`.
15 changes: 8 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,16 @@ Automate your routines with this SDK for Python.

`Python > 3.6` is **required**.



- Install from source
> git clone https://github.com/emnify-python-sdk.git
> cd emnify-python-sdk
> python setup.py install
```shell
git clone https://github.com/emnify-python-sdk.git emnify-sdk
cd emnify-sdk
python setup.py install
```
- or install with pip
> pip install emnify-python-sdk

```shell
pip install emnify-sdk
```

## Documentation

Expand Down
6 changes: 3 additions & 3 deletions docs/sphinx/getting_started.rst
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,16 @@ Install From Source Code
.. code-block:: bash
:caption: Installation commands

git clone https://github.com/emnify-python-sdk.git
cd emnify-python-sdk
git clone https://github.com/emnify-python-sdk.git emnify-sdk
cd emnify-sdk
python setup.py install

Install via PyPi
~~~~~~~~~~~~~~~~
.. code-block:: bash
:caption: Installation commands

pip install emnify-python-sdk
pip install emnify-sdk

Configure
---------
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
from setuptools import setup, find_packages
import os

NAME = os.getenv('PYPI_PACKAGE_NAME') or "emnify-python-sdk"
NAME = os.getenv('PYPI_PACKAGE_NAME') or "emnify-sdk"
VERSION = "0.0.16"
# To install the library, run the following
#
Expand Down