Skip to content

Commit

Permalink
Merge pull request #27 from JohnPreston/improve-dependencies-requirem…
Browse files Browse the repository at this point in the history
…ents

Improve libraries requirements
  • Loading branch information
sankalpbhatia committed May 27, 2024
2 parents 61430dd + a5618e7 commit 6591f0d
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
8 changes: 8 additions & 0 deletions docs/installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,14 @@ To install aws-msk-iam-sasl-signer-python, run this command in your terminal:
$ pip install aws-msk-iam-sasl-signer-python
To install the library and use the CLI

.. code-block:: console
$ pip install aws-msk-iam-sasl-signer-python[console_scripts]
This is the preferred method to install aws-msk-iam-sasl-signer-python, as it will always install the most recent stable release.

If you don't have `pip`_ installed, this `Python installation guide`_ can guide
Expand Down
6 changes: 5 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@
with open("CHANGELOG.rst") as changelog_file:
history = changelog_file.read()

requirements = ["Click>=7.0", "boto3>=1.26.125", "botocore>=1.29.125"]
requirements = ["boto3>=1.26,<2.0", "botocore>=1.29,<2.0"]
cli_requirements = ["Click>=7.0"]

test_requirements = [
"pytest==7.3.1",
Expand Down Expand Up @@ -44,6 +45,9 @@
],
},
install_requires=requirements,
extras_require={
"console_scripts": cli_requirements
},
license="Apache Software License 2.0",
long_description_content_type="text/x-rst",
long_description=readme + "\n\n" + history,
Expand Down

0 comments on commit 6591f0d

Please sign in to comment.