Skip to content

Commit 31724a4

Browse files
committed
chore: Include conditions folder
1 parent 59beba8 commit 31724a4

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

setup.py

+2-4
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,7 @@ def get_metadata(package, field):
1313
"""
1414
with codecs.open(os.path.join(package, "__init__.py"), encoding="utf-8") as fp:
1515
init_py = fp.read()
16-
return re.search(
17-
"^__{}__ = ['\"]([^'\"]+)['\"]".format(field), init_py, re.MULTILINE
18-
).group(1)
16+
return re.search("^__{}__ = ['\"]([^'\"]+)['\"]".format(field), init_py, re.MULTILINE).group(1)
1917

2018

2119
def readme():
@@ -48,7 +46,7 @@ def readme():
4846
description="Declarative model lifecycle hooks.",
4947
author=get_metadata("django_lifecycle", "author"),
5048
author_email=get_metadata("django_lifecycle", "author_email"),
51-
packages=["django_lifecycle", "django_lifecycle_checks"],
49+
packages=["django_lifecycle", "django_lifecycle_checks", "django_lifecycle.conditions"],
5250
url="https://github.com/rsinger86/django-lifecycle",
5351
project_urls={
5452
"Documentation": "https://rsinger86.github.io/django-lifecycle/",

0 commit comments

Comments
 (0)