feat: migrate course tool entry points to pyproject.toml
Migrates 4 openedx.course_tool entry points from setup.py. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -86,3 +86,9 @@ progress = "lms.djangoapps.courseware.plugins:ProgressCourseApp"
|
|||||||
teams = "lms.djangoapps.teams.plugins:TeamsCourseApp"
|
teams = "lms.djangoapps.teams.plugins:TeamsCourseApp"
|
||||||
textbooks = "lms.djangoapps.courseware.plugins:TextbooksCourseApp"
|
textbooks = "lms.djangoapps.courseware.plugins:TextbooksCourseApp"
|
||||||
wiki = "lms.djangoapps.course_wiki.plugins.course_app:WikiCourseApp"
|
wiki = "lms.djangoapps.course_wiki.plugins.course_app:WikiCourseApp"
|
||||||
|
|
||||||
|
[project.entry-points."openedx.course_tool"]
|
||||||
|
calendar_sync_toggle = "openedx.features.calendar_sync.plugins:CalendarSyncToggleTool"
|
||||||
|
course_bookmarks = "openedx.features.course_bookmarks.plugins:CourseBookmarksTool"
|
||||||
|
course_updates = "openedx.features.course_experience.plugins:CourseUpdatesTool"
|
||||||
|
financial_assistance = "lms.djangoapps.courseware.course_tools:FinancialAssistanceTool"
|
||||||
|
|||||||
6
setup.py
6
setup.py
@@ -6,12 +6,6 @@ from setuptools import setup
|
|||||||
|
|
||||||
setup(
|
setup(
|
||||||
entry_points={
|
entry_points={
|
||||||
"openedx.course_tool": [
|
|
||||||
"calendar_sync_toggle = openedx.features.calendar_sync.plugins:CalendarSyncToggleTool",
|
|
||||||
"course_bookmarks = openedx.features.course_bookmarks.plugins:CourseBookmarksTool",
|
|
||||||
"course_updates = openedx.features.course_experience.plugins:CourseUpdatesTool",
|
|
||||||
"financial_assistance = lms.djangoapps.courseware.course_tools:FinancialAssistanceTool",
|
|
||||||
],
|
|
||||||
"openedx.user_partition_scheme": [
|
"openedx.user_partition_scheme": [
|
||||||
"cohort = openedx.core.djangoapps.course_groups.partition_scheme:CohortPartitionScheme",
|
"cohort = openedx.core.djangoapps.course_groups.partition_scheme:CohortPartitionScheme",
|
||||||
"content_type_gate = openedx.features.content_type_gating.partitions:ContentTypeGatingPartitionScheme",
|
"content_type_gate = openedx.features.content_type_gating.partitions:ContentTypeGatingPartitionScheme",
|
||||||
|
|||||||
Reference in New Issue
Block a user