Skip to content

Commit

Permalink
fix naming
Browse files Browse the repository at this point in the history
  • Loading branch information
Ilija Vukotic committed Aug 4, 2020
1 parent 3f90145 commit 631ad3c
Show file tree
Hide file tree
Showing 10 changed files with 15 additions and 7 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# gym_cache
# gym-cache
OpenAI based Gym environments for training RL caching agent

install it:
<code>
pip install gym_cache
pip install gym-cache
</code>

import it like this:
Expand Down Expand Up @@ -63,7 +63,7 @@ To change environments:
or
<code>
python setup.py bdist_wheel
python -m pip install dist\gym_cache-1.0.0-py3-none-any.whl
python -m pip install dist\gym_cache-1.0.1-py3-none-any.whl
</code>
* to upload to pypi repository
<code>
Expand Down
1 change: 0 additions & 1 deletion TODO.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,4 @@
add actor cleaning step:
* ask actor for decission to remove or not. List files in order of LRU. Signal to not learn is given in comment dict.

register so it is pip installable.

8 changes: 8 additions & 0 deletions check_conformity.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
from stable_baselines.common.env_checker import check_env

# env = CustomEnv(arg1, ...)
# env = gym.make('gym_cache:Cache-v0')
env = CacheEnv()

# It will check your custom environment and output additional warnings if needed
check_env(env)
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
3 changes: 2 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@ wheel
tqdm
twine
pandas
gym
gym
stable_baselines
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

setuptools.setup(
name='gym_cache',
version='1.0.1',
version='1.0.2',
install_requires=[
'gym>=0.2.3',
'pandas>=0.24.2',
Expand All @@ -17,7 +17,7 @@
description="gym environment simulating file cache.",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/ivukotic/gym_cache",
url="https://github.com/ivukotic/gym-cache",
packages=setuptools.find_packages(),
classifiers=[
"Programming Language :: Python :: 3",
Expand Down

0 comments on commit 631ad3c

Please sign in to comment.