diff --git a/.travis.yml b/.travis.yml index ad87aa25..2f49c849 100644 --- a/.travis.yml +++ b/.travis.yml @@ -39,7 +39,7 @@ addons: install: - travis_wait 50 pip install -U -f https://extras.wxpython.org/wxPython4/extras/linux/gtk3/ubuntu-14.04 wxPython - travis_wait 50 python setup.py install - - pip install PyPubSub==3.3.0 pyyaml ruamel.yaml + - pip install PyPubSub pyyaml ruamel.yaml # command to run script: travis_wait 20 python devsimpy.py examples/model0.dsp 10 start quit \ No newline at end of file diff --git a/README.md b/README.md index 40c7a5bd..e0ae4e17 100644 --- a/README.md +++ b/README.md @@ -36,20 +36,19 @@ With DEVSimPy you can: To get DEVSimPy V4.0 package with all Git submodule: ```sh -$ git clone --recurse-submodules -b version-4.0 --depth=1 https://github.com/capocchi/DEVSimPy.git . +$ git clone --recurse-submodules -b version-4.0 --depth=1 https://github.com/capocchi/DEVSimPy.git $ git fetch --unshallow ``` -DEVSimPy depends on PyPubSub version 3.3.0 (or 3.3.1), pyyaml, ruamel.yaml and modules. -All dependencies can be installed using requirements.txt file: +DEVSimPy depends on PyPubSub, pyyaml, ruamel.yaml and other packages included in the requirements.txt file. +All dependencies can be installed using pip with the requirements.txt file: ```sh $ pip install -r requirements.txt ``` For os X users, python.app is required in order to use pythonw instead of python to execute the devismpy.py file. -For os X users, python.app is required in order to use pythonw instead of python to execute the devismpy.py file. - -DEVSimPy don't require installation and works on all platforms. To execute DEVSimPy: +# Usage +To execute DEVSimPy: ```sh $ python devsimpy.py ``` diff --git a/plugins/blink.py b/plugins/blink.py index 9c64f4a8..aa363342 100644 --- a/plugins/blink.py +++ b/plugins/blink.py @@ -319,5 +319,6 @@ def OnClose(self, evt): """ """ self.flag = True + self.Show(False) #self.Destroy() evt.Skip() \ No newline at end of file diff --git a/requirements.txt b/requirements.txt index 72576180..ccc4c218 100644 --- a/requirements.txt +++ b/requirements.txt @@ -59,7 +59,7 @@ wxPython >= 4.0.6 # SimulationGUI.py: 35 # SpreadSheet.py: 34 # devsimpy.py: 104 -PyPubSub == 3.3.0 +PyPubSub >= 3.3.0 # Mixins\Savable.py: 39 PyYAML >= 5.1.2