Skip to content

Commit

Permalink
fix: use find_packages for setup.py
Browse files Browse the repository at this point in the history
  • Loading branch information
drish committed May 9, 2024
1 parent 1850c5c commit a6ada08
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 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
5 changes: 2 additions & 3 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,7 +14,7 @@
author="Derich Pacheco",
author_email="[email protected]",
url="https://github.com/resendlabs/resend-python",
packages=["resend"],
packages=find_packages(exclude=["tests", "tests.*"]),
include_package_data=True,
install_requires=install_requires,
zip_safe=False,
Expand Down

0 comments on commit a6ada08

Please sign in to comment.