Skip to content

Commit

Permalink
Merge pull request #4 from Cetlan/fix-package
Browse files Browse the repository at this point in the history
Add more flexible package detection for setup.py
  • Loading branch information
etimberg authored Apr 10, 2020
2 parents 28d5d96 + 9f775f5 commit c091766
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import os
import os.path
from setuptools import setup
from setuptools import setup, find_packages

thisdir = os.path.abspath(os.path.dirname(__file__))
version = open(os.path.join(thisdir, "pycircuitbreaker", "VERSION")).read().strip()
Expand Down Expand Up @@ -30,7 +30,7 @@ def readme():
license="MIT",
long_description=readme(),
long_description_content_type="text/markdown",
packages=["pycircuitbreaker"],
packages=find_packages(exclude=["tests", "tests.*"]),
package_data={"": ["VERSION"]},
platforms="any",
url="https://github.com/etimberg/pycircuitbreaker",
Expand Down

0 comments on commit c091766

Please sign in to comment.