-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathPKG-INFO
80 lines (55 loc) · 1.76 KB
/
PKG-INFO
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
Metadata-Version: 2.1
Name: otree
Version: 6.0.1b1
Summary: Framework for multiplayer strategy games and complex surveys.
Home-page: http://otree.org/
Author: [email protected]
Author-email: [email protected]
License: MIT License
Platform: UNKNOWN
Provides-Extra: mturk
License-File: LICENSE
`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 <https://github.com/python-babel/babel/issues/665>`__
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/