`videosequence` and `problemset` have been replaced with `sequential`. `problemset` and `videosequence` are old-but-not-entirely-unused aliases to the `sequential` block type (in Studio-speak, "Subsection"). Since [these block types have been removed from the 6 courses that used them](https://openedx.atlassian.net/browse/DEPR-151?focusedCommentId=588197), this ticket removes the support for the `problemset` and `videosequence` block-types. For more information, see ticket: [DEPR-151](https://openedx.atlassian.net/browse/DEPR-151)
70 lines
2.7 KiB
Python
70 lines
2.7 KiB
Python
# lint-amnesty, pylint: disable=missing-module-docstring
|
|
|
|
from setuptools import find_packages, setup
|
|
|
|
XBLOCKS = [
|
|
"about = xmodule.html_module:AboutBlock",
|
|
"book = xmodule.template_module:TranslateCustomTagBlock",
|
|
"annotatable = xmodule.annotatable_module:AnnotatableBlock",
|
|
"chapter = xmodule.seq_module:SectionBlock",
|
|
"conditional = xmodule.conditional_module:ConditionalBlock",
|
|
"course = xmodule.course_module:CourseBlock",
|
|
"course_info = xmodule.html_module:CourseInfoBlock",
|
|
"customtag = xmodule.template_module:CustomTagBlock",
|
|
"custom_tag_template = xmodule.template_module:CustomTagTemplateBlock",
|
|
"discuss = xmodule.template_module:TranslateCustomTagBlock",
|
|
"error = xmodule.error_module:ErrorBlock",
|
|
"hidden = xmodule.hidden_module:HiddenDescriptor",
|
|
"html = xmodule.html_module:HtmlBlock",
|
|
"image = xmodule.template_module:TranslateCustomTagBlock",
|
|
"library = xmodule.library_root_xblock:LibraryRoot",
|
|
"library_content = xmodule.library_content_module:LibraryContentBlock",
|
|
"library_sourced = xmodule.library_sourced_block:LibrarySourcedBlock",
|
|
"lti = xmodule.lti_module:LTIBlock",
|
|
"nonstaff_error = xmodule.error_module:NonStaffErrorBlock",
|
|
"poll_question = xmodule.poll_module:PollBlock",
|
|
"problem = xmodule.capa_module:ProblemBlock",
|
|
"randomize = xmodule.randomize_module:RandomizeBlock",
|
|
"sequential = xmodule.seq_module:SequenceBlock",
|
|
"slides = xmodule.template_module:TranslateCustomTagBlock",
|
|
"split_test = xmodule.split_test_module:SplitTestBlock",
|
|
"static_tab = xmodule.html_module:StaticTabBlock",
|
|
"unit = xmodule.unit_block:UnitBlock",
|
|
"vertical = xmodule.vertical_block:VerticalBlock",
|
|
"video = xmodule.video_module:VideoBlock",
|
|
"videoalpha = xmodule.video_module:VideoBlock",
|
|
"videodev = xmodule.template_module:TranslateCustomTagBlock",
|
|
"word_cloud = xmodule.word_cloud_module:WordCloudBlock",
|
|
"wrapper = xmodule.wrapper_module:WrapperBlock",
|
|
]
|
|
XBLOCKS_ASIDES = [
|
|
'tagging_aside = cms.lib.xblock.tagging:StructuredTagsAside',
|
|
]
|
|
|
|
setup(
|
|
name="XModule",
|
|
version="0.1.2",
|
|
packages=find_packages(exclude=["tests"]),
|
|
install_requires=[
|
|
'setuptools',
|
|
'docopt',
|
|
'capa',
|
|
'path.py',
|
|
'webob',
|
|
'edx-opaque-keys>=0.4.0',
|
|
],
|
|
package_data={
|
|
'xmodule': ['js/module/*'],
|
|
},
|
|
|
|
# See https://setuptools.readthedocs.io/en/latest/setuptools.html#dynamic-discovery-of-services-and-plugins
|
|
# for a description of entry_points
|
|
entry_points={
|
|
'xblock.v1': XBLOCKS,
|
|
'xblock_asides.v1': XBLOCKS_ASIDES,
|
|
'console_scripts': [
|
|
'xmodule_assets = xmodule.static_content:main',
|
|
],
|
|
},
|
|
)
|