Metadata-Version: 2.1 Name: otree Version: 5.7.2 Summary: oTree is a toolset that makes it easy to create and administer web-based social science experiments. Home-page: http://otree.org/ Author: chris@otree.org Author-email: chris@otree.org License: MIT License Platform: UNKNOWN License-File: LICENSE Requires-Dist: aiofiles (==0.6.0) Requires-Dist: itsdangerous (==1.1.0) Requires-Dist: markupsafe (==1.1.1) Requires-Dist: python-multipart (==0.0.5) Requires-Dist: sqlalchemy (==1.3.22) Requires-Dist: starlette (==0.14.1) Requires-Dist: uvicorn (==0.13.4) Requires-Dist: websockets (==8.1) Requires-Dist: wtforms (==2.3.3) Requires-Dist: WTForms-SQLAlchemy (==0.2) Provides-Extra: mturk Requires-Dist: boto3 (==1.9.235) ; extra == 'mturk' Requires-Dist: botocore (==1.12.235) ; extra == 'mturk' Requires-Dist: docutils (==0.13.1) ; extra == 'mturk' Requires-Dist: jmespath (==0.10.0) ; extra == 'mturk' Requires-Dist: python-dateutil (==2.6.1) ; extra == 'mturk' Requires-Dist: s3transfer (==0.2.1) ; extra == 'mturk' `Homepage`_ These are the core oTree libraries. Before you fork this project, keep in mind that otree is updated frequently, and over time you might get upstream merge conflicts, as your local project diverges from the oTree mainline version. Instead, consider creating a project with ``otree startproject`` and making your modifications in an app, using oTree’s public API. You can create custom URLs, channels, override settings, etc. Docs ---- http://otree.readthedocs.io/en/latest/index.html Quickstart ---------- Typical setup ~~~~~~~~~~~~~ :: pip install -U otree otree startproject oTree cd oTree otree devserver Core dev setup ~~~~~~~~~~~~~~ If you are modifying otree-core locally, clone or download this repo, then run this from the project root: :: pip install -e . cd .. # or wherever you will start your project otree startproject oTree cd oTree otree devserver i18n ~~~~ To generate .pot and update .po files:: cd tests pybabel extract "../otree" -o "../otree/locale/django.pot" -F "..\otree\locale\babel.ini" -k core_gettext -c Translators: cd .. pybabel update -D django -i otree/locale/django.pot -d otree/locale To compile .po to .mo:: pybabel compile -d otree/locale -f -D django Note, beware of the issue `here `__ To add a new language (e.g. Polish):: pybabel init -D django -i otree/locale/django.pot -d otree/locale -l pl .. _Homepage: http://www.otree.org/