diff --git a/.github/workflows/build-and-deploy-release-pypi.yml b/.github/workflows/build-and-deploy-release-pypi.yml index f602c35..10fe13d 100644 --- a/.github/workflows/build-and-deploy-release-pypi.yml +++ b/.github/workflows/build-and-deploy-release-pypi.yml @@ -24,10 +24,6 @@ jobs: run: | python -m pip install --upgrade pip setuptools wheel build twine - - name: Build wheels for selected dependencies - run: | - pip wheel -r requirements-build.txt -w dist - - name: Build distribution run: | python -m build --sdist @@ -35,30 +31,6 @@ jobs: - name: Check distribution run: twine check dist/* - - - name: Set up .pypirc - run: | - cat < ~/.pypirc - [distutils] - index-servers = - pypi - placekey - testpypi - - [pypi] - username = __token__ - password = ${{ secrets.PYPI_API_TOKEN }} - - [placekey] - repository = https://upload.pypi.org/legacy/ - username = __token__ - password = ${{ secrets.PYPI_API_TOKEN }} - - [testpypi] - repository = https://test.pypi.org/legacy/ - username = __token__ - password = ${{ secrets.TEST_PYPI_API_TOKEN }} - EOF - name: Upload to TestPyPI env: diff --git a/placekey/__version__.py b/placekey/__version__.py index cee6b82..cdd97eb 100644 --- a/placekey/__version__.py +++ b/placekey/__version__.py @@ -1 +1 @@ -__version__ = '0.0.27' +__version__ = '0.0.28' diff --git a/placekey/api.py b/placekey/api.py index dbf8b7f..da15383 100644 --- a/placekey/api.py +++ b/placekey/api.py @@ -5,7 +5,6 @@ import backoff import requests -from backoff import on_exception, fibo from ratelimit import limits, RateLimitException from .__version__ import __version__ diff --git a/requirements-build.txt b/requirements-build.txt deleted file mode 100644 index a0e3f31..0000000 --- a/requirements-build.txt +++ /dev/null @@ -1,2 +0,0 @@ -h3>=3.6.1,<4 -ratelimit \ No newline at end of file diff --git a/requirements.txt b/requirements.txt index be206ed..9d7ba25 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,2 +1,4 @@ --index-url https://pypi.python.org/simple/ --e . \ No newline at end of file +-e . +h3>=3.6.1,<4 +ratelimit \ No newline at end of file diff --git a/setup.py b/setup.py index d9fe01d..0710517 100644 --- a/setup.py +++ b/setup.py @@ -28,7 +28,7 @@ def get_version(): long_description_content_type="text/markdown", url="https://github.com/Placekey/placekey-py", packages=setuptools.find_packages(), - install_requires=['h3>=3.6.1,<4', 'shapely', 'requests', 'ratelimit', 'backoff', 'boto3'], + install_requires=['shapely', 'requests', 'backoff', 'boto3'], classifiers=[ "Programming Language :: Python :: 3", "License :: OSI Approved :: Apache Software License",