Skip to content

Commit 4ddf94f

Browse files
committed
added entry point to pyproject for poetry
1 parent 115c6a5 commit 4ddf94f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ pip install ray-0.9.0.dev0-cp36-cp36m-manylinux1_x86_64.whl[rllib,debug]
7474
pip install mdp_playground[extras_disc]
7575
```
7676

77-
Instead of calling `$ python run_experiments.py` in the cloned repository, you would then use `$ run-mdpp-experiments` from anywhere.
77+
Instead of calling `$ python run_experiments.py` in the cloned repository, you can then use `$ run-mdpp-experiments` from anywhere. Note, that you still need to specify the path to to the experiment's configuration file. Thus, for reproducing the experiments from the paper, the manual installation is the easier option.
7878

7979
## Running experiments
8080
For reproducing experiments from the main paper, please see [below](#running-experiments-from-the-main-paper).

pyproject.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,8 @@ pytest = "^5.2"
6666
sphinx = "^3.5.4"
6767
sphinx-book-theme = "^0.1.0"
6868

69-
# [tool.poetry.scripts]
70-
# No entry points so far?
69+
[tool.poetry.scripts]
70+
run-mdpp-experiments = "run_experiments:main"
7171

7272
[build-system]
7373
requires = ["poetry-core>=1.0.0"]

0 commit comments

Comments
 (0)