Skip to content

Commit 3ca5af3

Browse files
committed
moved scripts around to fix entry point
1 parent 030b78b commit 3ca5af3

10 files changed

+24
-19
lines changed

__init__.py

-14
This file was deleted.

mdp_playground/__init__.py

+2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
from gym.envs.registration import register
22

3+
import mdp_playground.scripts.run_experiments
4+
35
register(
46
id='RLToy-v0',
57
entry_point='mdp_playground.envs:RLToyEnv',

mdp_playground/scripts/__init__.py

Whitespace-only changes.
File renamed without changes.
File renamed without changes.

poetry.lock

+17-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

+3-2
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@ classifiers = [
3535
[tool.poetry.dependencies]
3636
python = "^3.6"
3737
gym = "0.14.0"
38-
dill = "^0.3.3"
3938

4039
pandas = { version = "0.25.0", optional = true }
4140
requests = { version = "2.22.0", optional = true }
@@ -57,6 +56,8 @@ scipy = { version = "1.3.0", optional = true }
5756
pillow = { version = "6.1.0", optional = true }
5857
tensorflow-probability = { version = "0.9.0", optional = true }
5958
mujoco-py = { version = "2.0.2.13", optional = true }
59+
dill = "^0.3.3"
60+
colorama = "^0.4.4"
6061

6162
[tool.poetry.extras]
6263
extras_disc = ["pandas", "requests", "configspace", "scipy", "pillow", "pillow"]
@@ -68,7 +69,7 @@ sphinx = "^3.5.4"
6869
sphinx-book-theme = "^0.1.0"
6970

7071
[tool.poetry.scripts]
71-
run-mdpp-experiments = "run_experiments:main"
72+
run-mdpp-experiments = "mdp_playground.scripts.run_experiments:main"
7273

7374
[build-system]
7475
requires = ["poetry-core>=1.0.0"]

setup.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
'mdp_playground.analysis',
66
'mdp_playground.config_processor',
77
'mdp_playground.envs',
8+
'mdp_playground.scripts',
89
'mdp_playground.spaces']
910

1011
package_data = \
@@ -82,7 +83,7 @@
8283

8384
entry_points={
8485
'console_scripts': """
85-
run-mdpp-experiments = run_experiments:main
86+
run-mdpp-experiments = mdp_playground.scripts.run_experiments:main
8687
"""
8788
}
8889
)

0 commit comments

Comments
 (0)