diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index 0c1e042..1e88104 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -34,7 +34,7 @@ jobs: publish-to-pypi: name: >- Publish Python 🐍 distribution 📦 to PyPI - # if: startsWith(github.ref, 'refs/tags/') # only publish to PyPI on tag pushes + if: startsWith(github.ref, 'refs/tags/') # only publish to PyPI on tag pushes needs: - build runs-on: ubuntu-latest diff --git a/fitconnect_client/client.py b/fitconnect_client/client.py index 4d9c02b..18980eb 100644 --- a/fitconnect_client/client.py +++ b/fitconnect_client/client.py @@ -1,10 +1,10 @@ import requests from hashlib import sha512 -from .log import logger -from .environment import Environment, ENV_CONFIG -from .objects import Attachment, Submission -from .objects.exception import APIError -from .crypto import convert_dict_to_json_bytes, encrypt_dict_with_key, encrypt_bytes_with_key +from fitconnect_client.log import logger +from fitconnect_client.environment import Environment, ENV_CONFIG +from fitconnect_client.objects import Attachment, Submission +from fitconnect_client.objects.exception import APIError +from fitconnect_client.crypto import convert_dict_to_json_bytes, encrypt_dict_with_key, encrypt_bytes_with_key class FitconnectClient: diff --git a/setup.py b/setup.py index 3d42134..c8a6e53 100644 --- a/setup.py +++ b/setup.py @@ -3,7 +3,7 @@ setup( name="fitconnect_client", packages=find_packages(include=["fitconnect_client", "fitconnect_client.objects"]), - version="0.1.0", + version="0.1.1", description="A python SDK to interact with the German Fitconnect system", long_description="A python SDK to interact with the German Fitconnect system", author="Jon Bulica",