@@ -8,19 +8,59 @@ estimators were proposed. None of them is implemented in standard econometrics p
88
99## Installation
1010
11- The package can be installed via conda. To do so, type the following in a terminal:
11+ > ** Warning:** To run skillmodels you need to install jax and jaxlib. At the time of
12+ > writing, in most use cases, it is faster on a CPU than on a GPU, so it should be
13+ > sufficient to install the CPU version, which is available on all platforms. In any
14+ > case, for installation of jax and jaxlib, please consult the jax
15+ > [ docs] ( https://jax.readthedocs.io/en/latest/installation.html#supported-platforms ) .
1216
13- conda config --add channels conda-forge conda install skillmodels
17+ Skillmodels can be installed via PyPI or via GitHub. To do so, type the following in a
18+ terminal:
19+
20+ ``` console
21+ $ pip install skillmodels
22+ ```
23+
24+ or, for the latest development version, type:
25+
26+ ``` console
27+ $ pip install git+https://github.com/OpenSourceEconomics/skillmodels.git
28+ ```
1429
1530## Documentation
1631
1732[ The documentation is hosted at readthedocs] ( https://skillmodels.readthedocs.io/en/latest/ )
1833
19- Alternatively, you can build it locally. After cloning the repository you can cd to the
20- docs directory and type:
34+ ## Developing
35+
36+ We use [ pixi] ( https://pixi.sh/latest/ ) for our local development environment. If you
37+ want to work with or extend the skillmodels code base you can run the tests using
2138
39+ ``` console
40+ $ git clone https://github.com/OpenSourceEconomics/skillmodels.git
41+ $ pixi run tests
2242```
23- make html
43+
44+ This will install the development environment and run the tests. You can run
45+ [ mypy] ( https://mypy-lang.org/ ) using
46+
47+ ``` console
48+ $ pixi run mypy
49+ ```
50+
51+ Before committing, install the pre-commit hooks using
52+
53+ ``` console
54+ $ pre-commit install
55+ ```
56+
57+ #### Documentation
58+
59+ You can build the documentation locally. After cloning the repository you can cd to the
60+ docs directory and type:
61+
62+ ``` console
63+ $ make html
2464```
2565
2666## Citation
0 commit comments