Skip to content

Commit

Permalink
chore: add lms/cms entry points
Browse files Browse the repository at this point in the history
  • Loading branch information
Ian2012 committed Feb 20, 2024
1 parent 184698d commit ba4be6b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
2 changes: 0 additions & 2 deletions aspects/apps.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,10 @@ class AspectsConfig(AppConfig):
"settings_config": {
"lms.djangoapp": {
"common": {"relative_path": "settings.common"},
"test": {"relative_path": "settings.test"},
"production": {"relative_path": "settings.production"},
},
"cms.djangoapp": {
"common": {"relative_path": "settings.common"},
"test": {"relative_path": "settings.test"},
"production": {"relative_path": "settings.production"},
},
},
Expand Down
8 changes: 8 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -157,4 +157,12 @@ def is_requirement(line):
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.8',
],
entry_points={
'lms.djangoapp': [
'aspects = aspects.apps:AspectsConfig',
],
'cms.djangoapp': [
'aspects = aspects.apps:AspectsConfig',
],
},
)

0 comments on commit ba4be6b

Please sign in to comment.