Skip to content

Commit

Permalink
fix: use find_packages for setup.py (#84)
Browse files Browse the repository at this point in the history
  • Loading branch information
drish authored May 9, 2024
1 parent 1850c5c commit 8559d73
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion resend/version.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
__version__ = "1.0.0"
__version__ = "1.0.1"


def get_version() -> str:
Expand Down
7 changes: 3 additions & 4 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
#!/usr/bin/env python

from setuptools import setup

from setuptools import setup, find_packages
from resend.version import get_version

install_requires = open("requirements.txt").readlines()
Expand All @@ -15,8 +14,8 @@
author="Derich Pacheco",
author_email="[email protected]",
url="https://github.com/resendlabs/resend-python",
packages=["resend"],
include_package_data=True,
packages=find_packages(exclude=["tests", "tests.*"]),
package_data={"resend": ["py.typed"]},
install_requires=install_requires,
zip_safe=False,
python_requires=">=3.7",
Expand Down

0 comments on commit 8559d73

Please sign in to comment.