Skip to content

Commit 5acaf86

Browse files
committed
Merge branch 'dev' of https://github.com/aidudezzz/deepbots into evolutionary
fetch updates
2 parents 57f59d9 + bb595f5 commit 5acaf86

File tree

8 files changed

+16
-9
lines changed

8 files changed

+16
-9
lines changed

.bumpversion.cfg

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,3 +20,7 @@ values =
2020
[bumpversion:file:VERSION]
2121

2222
[bumpversion:file:setup.py]
23+
24+
[bumpversion:file:deepbots/__init__.py]
25+
search = __version__ = "{current_version}"
26+
replace = __version__ = "{new_version}"

.github/workflows/python_build.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jobs:
77
runs-on: ubuntu-latest
88
strategy:
99
matrix:
10-
python-version: [3.5, 3.6, 3.7]
10+
python-version: [3.6, 3.7, 3.8]
1111

1212
steps:
1313
- uses: actions/checkout@v1

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
[![Dev Version](https://img.shields.io/github/v/tag/aidudezzz/deepbots?include_prereleases&label=test-pypi&color=green)](https://test.pypi.org/project/deepbots/)
77
[![Downloads](https://static.pepy.tech/personalized-badge/deepbots?period=total&units=international_system&left_color=grey&right_color=green&left_text=Downloads)](https://pepy.tech/project/deepbots)
88
[![License](https://img.shields.io/github/license/aidudezzz/deepbots?color=green)](https://github.com/aidudezzz/deepbots/blob/dev/LICENSE)
9-
[![All Contributors](https://img.shields.io/badge/all_contributors-3-orange.svg?style=flat-square)](#contributors-)
9+
[![All Contributors](https://img.shields.io/badge/all_contributors-6-orange.svg?style=flat-square)](#contributors-)
1010

1111
Deepbots is a simple framework which is used as "middleware" between the free
1212
and open-source [Cyberbotics' Webots](https://cyberbotics.com/) robot simulator

deepbots/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "0.0.0.11-pre"
1+
__version__ = "0.1.3-dev2"

deepbots/supervisor/wrappers/keyboard_printer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ class KeyboardPrinter(SupervisorEnv):
77
def __init__(self, controller):
88
self.controller = controller
99
self.keyboard = Keyboard()
10-
self.keyboard.enable(self.controller.get_timestep())
10+
self.keyboard.enable(self.controller.timestep)
1111

1212
def step(self, action):
1313
observation, reward, isDone, info = self.controller.step(action)

docker/requirements.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
gym==0.17.2
2-
numpy==1.19.2
3-
tensorflow==2.5.0
2+
numpy==1.22.0
3+
tensorflow==2.7.2
44
stable-baselines3
55
ray==1.2.0
66
torch==1.8.1

requirements.txt

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1 @@
1-
seed-isort-config
2-
pre-commit
3-
gym
1+
gym

setup.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@
33
DESCRIPTION = "A wrapper framework for Reinforcement Learning in Webots \
44
simulator"
55

6+
7+
with open("requirements.txt") as requirements_file:
8+
requirements = requirements_file.read().splitlines()
9+
610
with open("README.md", "r", encoding="utf-8") as readme_file:
711
readme = readme_file.read()
812

@@ -15,4 +19,5 @@
1519
long_description=readme,
1620
long_description_content_type="text/markdown",
1721
packages=find_packages(),
22+
install_requires=requirements,
1823
)

0 commit comments

Comments
 (0)