Skip to content

Commit

Permalink
Merge pull request #8 from drish/fix-required-pyver
Browse files Browse the repository at this point in the history
setup.py: fix issue with required_python
  • Loading branch information
Derich Pacheco authored Apr 19, 2023
2 parents 513f463 + 9f9ee03 commit 7f1acd0
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 5 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
main.py

.vscode
### Emacs ###
# -*- mode: gitignore; -*-
*~
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ client = Resend(api_key="kl_123")
## Example

```py
import os
from resend import Resend

client = Resend(api_key=os.environ["RESEND_API_KEY"])
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
requests
requests==2.23.0
1 change: 0 additions & 1 deletion resend/exceptions.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,6 @@ def __init__(


def raise_for_code_and_type(code, error_type, message: str) -> ResendError:

# Handle the case where the error might be unknown
if ERRORS.get(code).get(error_type) is None:
raise ResendError()
Expand Down
2 changes: 1 addition & 1 deletion resend/version.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
__version__ = "0.1.0"
__version__ = "0.1.1"


def get_version():
Expand Down
3 changes: 1 addition & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,14 @@
include_package_data=True,
install_requires=install_requires,
zip_safe=False,
python_requires=">3.7.5",
python_requires=">=3.7",
keywords=["email", "email platform"],
classifiers=[
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
Expand Down

0 comments on commit 7f1acd0

Please sign in to comment.