Skip to content
Snippets Groups Projects
  • jsa's avatar
    Add support for user partitioning based on cohort. · f24f01d2
    jsa authored
    JIRA: TNL-710
    
    IMPORTANT: this commit converts the course_groups
    package to using migrations.  When deploying to an
    existing openedx instance, migration 0001 may fail
    with an error indicating that the CourseUserGroup
    table already exists.  If this happens, running
    the 0001 migration first, with the --fake option,
    is recommended.  After performing this step,
    remaining migrations should work as expected.
    f24f01d2
setup.py 746 B
"""
Setup script for the Open edX package.
"""

from setuptools import setup

setup(
    name="Open edX",
    version="0.2",
    install_requires=['distribute'],
    requires=[],
    # NOTE: These are not the names we should be installing.  This tree should
    # be reorganized to be a more conventional Python tree.
    packages=[
        "openedx.core.djangoapps.user_api",
        "openedx.core.djangoapps.course_groups",
        "lms",
        "cms",
    ],
    entry_points={
        'openedx.user_partition_scheme': [
            'random = openedx.core.djangoapps.user_api.partition_schemes:RandomUserPartitionScheme',
            'cohort = openedx.core.djangoapps.course_groups.partition_scheme:CohortPartitionScheme',
        ],
    }
)