File tree 1 file changed +2
-4
lines changed
1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -13,9 +13,7 @@ def get_metadata(package, field):
13
13
"""
14
14
with codecs .open (os .path .join (package , "__init__.py" ), encoding = "utf-8" ) as fp :
15
15
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 )
19
17
20
18
21
19
def readme ():
@@ -48,7 +46,7 @@ def readme():
48
46
description = "Declarative model lifecycle hooks." ,
49
47
author = get_metadata ("django_lifecycle" , "author" ),
50
48
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" ],
52
50
url = "https://github.com/rsinger86/django-lifecycle" ,
53
51
project_urls = {
54
52
"Documentation" : "https://rsinger86.github.io/django-lifecycle/" ,
You can’t perform that action at this time.
0 commit comments