Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft: Final python2 version #861

Merged
merged 165 commits into from
Mar 1, 2022
Merged
Show file tree
Hide file tree
Changes from 160 commits
Commits
Show all changes
165 commits
Select commit Hold shift + click to select a range
abaaa99
fix: skip notifications that show up quickly
vahidm1993 Oct 6, 2021
d5dcded
fix: add find usage feature
vahidm1993 Sep 14, 2021
cb9cbc1
feat: select on the used libraries
vahidm1993 Sep 17, 2021
42735de
feat: add RAISE_ERROR_ON_MISSING_LIBRARY_STATES config parameter
Sep 7, 2021
c6e188c
test: add unit test for error raising when loading sm with missing li…
Sep 7, 2021
78b592f
chore: increment patch number
Sep 7, 2021
101549e
docs: update changelog
Sep 7, 2021
87f3c34
feat: raise error if lib state is not found and RAISE_ERROR_ON_MISSIN…
Sep 10, 2021
11da84c
chore: update changelog for new patch release
sebastian-brunner Sep 13, 2021
e114b5e
test: increase test timeout
sebastian-brunner Sep 13, 2021
4f0ed01
feat: changelog
vahidm1993 Sep 20, 2021
d8fb02b
feat: add search bar for state machines
vahidm1993 Sep 8, 2021
dc77cf2
feat: get rid of the rounded corners
vahidm1993 Sep 10, 2021
bbb090b
feat: refactor names
vahidm1993 Sep 13, 2021
c25b093
feat: change the search bar location
vahidm1993 Sep 16, 2021
69d0492
feat: add toggle button for the search bar visibility
vahidm1993 Sep 17, 2021
9ce2a2e
fix: fix the breaking 'remove state' functionality
vahidm1993 Sep 22, 2021
b968b1d
feat: add close all state machines menu item
vahidm1993 Sep 24, 2021
a2d328f
fix: disable notifications per default
sebastian-brunner Oct 8, 2021
f4eb3e8
docs: add docs pipeline to ci-pipeline
sebastian-brunner Oct 12, 2021
7a20f0b
ci: update docs cmd
sebastian-brunner Oct 12, 2021
0ba379c
ci: fix ci file
sebastian-brunner Oct 12, 2021
861402c
fix: handling of library interface change
sebastian-brunner Oct 12, 2021
f1f91be
test(python2): user proper pytest-timeout version
sebastian-brunner Oct 12, 2021
89ad13c
chore: update changelog + version for new release
sebastian-brunner Oct 12, 2021
604f14d
ci: use pytest-timeout<2 as it requires a pytest>5
sebastian-brunner Oct 12, 2021
963bbd3
fix: change order of setting gtk properties
sebastian-brunner Oct 12, 2021
0f5bbf2
ci: update docs_test job
sebastian-brunner Oct 12, 2021
7070fd4
ci: fix pages job
sebastian-brunner Oct 12, 2021
163cbc6
docs: update configuration documentation
sebastian-brunner Oct 12, 2021
5c667d9
feat: show search bar with ctrl+f
vahidm1993 Oct 18, 2021
7b5e3f3
feature: add relocating/refactoring feature
vahidm1993 Sep 22, 2021
d98575d
feature: save meta data
vahidm1993 Sep 23, 2021
1c5d397
fix: remove duplicated codes
vahidm1993 Sep 23, 2021
dce4491
fix: fix bugs & add test cases
vahidm1993 Sep 23, 2021
cf43212
fix: remove unused package
vahidm1993 Sep 23, 2021
7c9afc7
fix: use python 2 supported path package
vahidm1993 Sep 24, 2021
aa3b2be
fix: use isinstance
vahidm1993 Sep 24, 2021
ea43f16
fix: fix the test
vahidm1993 Sep 27, 2021
6e47975
fix: make the feature support python 2
vahidm1993 Sep 27, 2021
9dc3d39
fix: fix refactoring and finding the usage of libraries in case of th…
vahidm1993 Sep 29, 2021
2c86095
fix: correct english in dialogs
sebastian-brunner Sep 28, 2021
3ebbe07
fix: fix refactoring and finding the usage of libraries in case of th…
vahidm1993 Sep 29, 2021
62829bf
feat: add new flag regarding showing dialogs
vahidm1993 Oct 1, 2021
a7df369
feat: save open state machines before renaming
vahidm1993 Oct 1, 2021
aee12aa
feat: use grep to find the used libraries
vahidm1993 Oct 5, 2021
854f6bf
feat: fix the test cases
vahidm1993 Oct 5, 2021
43eba9d
feat: add doc to the functions and make the codes more readable
vahidm1993 Oct 6, 2021
b8254df
Revert "fix: skip notifications that show up quickly"
vahidm1993 Oct 6, 2021
5c31290
fix: relocate find_usages_via_grep
vahidm1993 Oct 6, 2021
96ae396
feat: fix bugs and add test case for renaming library roots
vahidm1993 Oct 7, 2021
c8f0e7c
fix: search for the states recursively
vahidm1993 Oct 8, 2021
1a0ed5f
fix: ask for confirmation for unsaved state machines
vahidm1993 Oct 8, 2021
9dfcefa
fix: save all affected state machines at one
vahidm1993 Oct 8, 2021
066828d
fix: remove junk codes
vahidm1993 Oct 8, 2021
62dcc96
fix: add comment
vahidm1993 Oct 8, 2021
015e9d6
feat: add relocation feature
vahidm1993 Oct 12, 2021
d72c1b2
fix: use correct icon for adding a root key
sebastian-brunner Oct 8, 2021
51424f6
fix: refactor codes
vahidm1993 Oct 12, 2021
8ca5fb2
feat: refactor codes and add test for library relocation
vahidm1993 Oct 15, 2021
9204713
fix: fix test for library relocation
vahidm1993 Oct 15, 2021
986d93b
fix: double callbacks
vahidm1993 Oct 19, 2021
c32e30d
feat: first draft of new execution history layout
sebastian-brunner Oct 20, 2021
1f753f0
fix: add len function to base_execution_history
sebastian-brunner Oct 20, 2021
8578474
fix: linkage problem with base history
sebastian-brunner Oct 20, 2021
1b0decc
fix: shutdown the worker thread properly
vahidm1993 Oct 21, 2021
582923a
fix: refactor the codes
vahidm1993 Oct 22, 2021
d481652
fix: state machine links
vahidm1993 Oct 22, 2021
764d2d8
fix: rename execution history names
vahidm1993 Oct 22, 2021
fe4f408
fix: refactor threadings
vahidm1993 Oct 22, 2021
0c7c56b
fix: refactor codes
vahidm1993 Oct 25, 2021
afd4a9a
fix: test
vahidm1993 Oct 27, 2021
70b8d2b
chore: update version for new release
sebastian-brunner Oct 27, 2021
934b010
docs(api): include new execution-related classes
sebastian-brunner Oct 27, 2021
6847d62
docs: add documentation about the execution-history
sebastian-brunner Oct 27, 2021
fc2b38a
feat: keep transitions for a dummy state machine
vahidm1993 Oct 14, 2021
4068f33
feat: keep outputs for a dummy state machine
vahidm1993 Oct 14, 2021
d3dcc45
feat: preserve the meta_data of the missing library for the new dummy…
vahidm1993 Oct 15, 2021
3be5285
fix: fix test
vahidm1993 Oct 15, 2021
442178d
feat: construct the missing library data ports via the existing data …
vahidm1993 Oct 19, 2021
30dfc7d
fix: refactor codes
vahidm1993 Oct 26, 2021
1c40120
feat: add api docs
vahidm1993 Oct 28, 2021
96fb7d9
fix: first stop the consumer thread and then unregister it
vahidm1993 Oct 28, 2021
4455188
fix: use condition functions that are supported in python 2
vahidm1993 Oct 28, 2021
4dfd12e
fix: avoid destroying consumers before consuming all items
vahidm1993 Oct 29, 2021
3f3c568
feat: add new test case
vahidm1993 Oct 29, 2021
ce1f51e
feat: add new test case
vahidm1993 Oct 29, 2021
9e0b7a9
fix: add missing api doc and fix bug
vahidm1993 Oct 29, 2021
c6fa73f
fix: destroy concurrency history items in after running all states
vahidm1993 Oct 29, 2021
e2b4e4e
chore: update changelog and version for new minor release
sebastian-brunner Nov 1, 2021
822777a
docs: update citation file with new minor version
sebastian-brunner Nov 1, 2021
c682328
feat: add new backward-compatibility sm for version 0.15
sebastian-brunner Nov 1, 2021
119babe
fix: don't re-raise exception in order to get the full stack-trace
sebastian-brunner Nov 1, 2021
710bc8f
docs: remove changelog only referring to Agile Robots internal setup
sebastian-brunner Nov 1, 2021
4a40692
fix: add makefile for generating docs
sebastian-brunner Nov 7, 2021
2e3c557
fix: update requirements with versions from setup.py
sebastian-brunner Nov 7, 2021
03feee9
docs: add attributes to automodule sections
sebastian-brunner Nov 7, 2021
2bedd78
fix: do not create already existing transitions
vahidm1993 Oct 29, 2021
0cd7bb3
fix: assign an empty string to to_key_label
vahidm1993 Nov 8, 2021
dd19e17
feat: add fast prints state machine
vahidm1993 Nov 23, 2021
9d06b73
feat: remove the remains of the opengl graphical editor
vahidm1993 Nov 29, 2021
6207012
Revert "feat: remove the remains of the opengl graphical editor"
vahidm1993 Nov 30, 2021
13deb1d
feat: add read/write lock to LoggingConsoleView
vahidm1993 Nov 26, 2021
9ba6b34
feat: cover insert as well
vahidm1993 Nov 26, 2021
c1bee4a
feat: make changes python 2 friendly
vahidm1993 Nov 26, 2021
35d8fbc
feat: avoid deadlocks - some more improvements and refactorings
vahidm1993 Nov 27, 2021
e6fbf74
feat: refactor codes
vahidm1993 Nov 27, 2021
640ec1b
fix: call 'show_notification' via 'call_gui_callback'
vahidm1993 Nov 26, 2021
1c3a193
fix: call 'show_notification' via 'idle_add'
vahidm1993 Nov 26, 2021
578964f
feat: update CHANGELOG.rst & VERSION
vahidm1993 Nov 26, 2021
f536ad7
feat: print a warning when the input is None
vahidm1993 Nov 25, 2021
d7f3c2e
fix: test
vahidm1993 Nov 25, 2021
75a1632
fix: refactor codes
vahidm1993 Nov 25, 2021
41809c6
feat: update VERSION and CHANGELOG.rst
vahidm1993 Nov 29, 2021
999eff3
feat: add runtime_config argument
vahidm1993 Nov 30, 2021
4721aa6
feat: Skeleton of run this state
Sep 9, 2021
2b2d63d
feat: Call core execution function to run this state
Sep 9, 2021
bcd0098
fix: new key error
Sep 13, 2021
41baf85
feat: Core handling of run this state
Sep 13, 2021
d13f6d1
fix: Broken right click menu
Oct 28, 2021
5825b88
fix: Shortcut of run this state
Oct 28, 2021
4ab84bc
feat: Add run this state button to main view
Oct 28, 2021
e0fae5b
fix: Remove duplicate function
Oct 29, 2021
bcb572b
feat: test push
Nov 3, 2021
a02f024
feat: proper function call from menu button
Nov 8, 2021
62b9d3b
feat: run this state
Nov 11, 2021
1ee10ff
fix: Debug print of run selected state
Nov 11, 2021
2186773
chore: revert add new execution status
Nov 12, 2021
579f72d
feat: stop and rerun this state on active sm
Nov 15, 2021
23854f4
chore: revert threading call
Nov 15, 2021
8cf0f90
feat: Reimplement core method for run selected state the proper way
Nov 17, 2021
cd8c746
fix: Where to call wait
Nov 17, 2021
8208f6c
feat: change button icon of run this state
Nov 18, 2021
4231c55
feat: Added unit test for run this state
Nov 19, 2021
d3af834
fix: no need for sync lock to test run this state
Nov 19, 2021
9352bd7
fix: Unit test for run this state
Nov 22, 2021
7934c26
fix: Test run selected
Nov 23, 2021
56cc23f
chore: move stop call in run selected state test
Nov 23, 2021
02475a4
chore: remove unnecessary imports
Nov 23, 2021
fc69492
chore: yapf
Nov 23, 2021
ac7aa42
fix: Multiple hierarchies for execution states
Nov 23, 2021
4413c95
fix: run-this-state feature
sebastian-brunner Nov 24, 2021
c8f140a
chore: Clean up commented out run this state code
Nov 24, 2021
471ddf6
fix: unit test for run selected state
Nov 29, 2021
51ca48b
chore: update changelog
Nov 29, 2021
b6e2bcf
Update CHANGELOG.rst
Elio-Nakhle Nov 30, 2021
9617ae1
fix: support the case that a direct child of a concurrency state is s…
sebastian-brunner Nov 30, 2021
e4d992a
feat: add more state machines for memory profiling
sebastian-brunner Dec 4, 2021
29b58a3
docs: update wrong version of changelog
sebastian-brunner Dec 7, 2021
097f9b5
feat: use the new importlib package
vahidm1993 Dec 8, 2021
2052a45
fix: refactor codes
vahidm1993 Dec 1, 2021
b5bc829
feat: reduce waiting times
sebastian-brunner Dec 4, 2021
127802f
feat: update
vahidm1993 Feb 16, 2022
a4a9e2f
feat: show the search bar button only in the library tab & rename "Fi…
vahidm1993 Feb 21, 2022
f2a3626
fix: library relocation when the root name and the root directory are…
vahidm1993 Feb 21, 2022
92b2102
fix: port data type change when creating a dummy state machine
vahidm1993 Feb 25, 2022
21c2208
fix: rafcon loggin in python 2
vahidm1993 Feb 25, 2022
e45754b
feat: support scoped variables dataflow reconnection
vahidm1993 Feb 27, 2022
e066fe2
feat: install the python 2 supported setuptools
vahidm1993 Feb 28, 2022
ec1a9ec
feat: print warnings when the data type could not be found during the…
vahidm1993 Feb 28, 2022
ac3badd
feat: install more-itertools before running the tests in the pipeline
vahidm1993 Feb 28, 2022
6e690c0
feat: use imp to run the state machines
vahidm1993 Feb 28, 2022
13c76e9
fix: pipeline
vahidm1993 Mar 1, 2022
d6a5f8f
fix: searching for share path
vahidm1993 Mar 1, 2022
10d23de
Merge branch 'dlr_develop' into final_python2_version
sebastian-brunner Mar 1, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
44 changes: 38 additions & 6 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,18 @@
stages:
- test
include:
- project: 'dev/sys/sopl/ar-dev'
# release branch
ref: 'release/3.x'
file:
- '/ci/templates/default.yml'

variables:
AR_CI_CLANG_FORMAT_DISABLE: "true"
AR_CI_CLANG_TIDY_DISABLE: "true"
AR_CI_CPPCHECK_DISABLE: "true"
AR_CI_FLAKE8_DISABLE: "true"
AR_CI_YAPF_DISABLE: "true"
AR_CI_DOCS_DISABLE: "false"
AR_CI_DEPLOY_CONAN_DISABLE: "true"

# From https://docs.gitlab.com/ee/ci/merge_request_pipelines/#excluding-certain-jobs
.only-default: &only-default
Expand All @@ -15,22 +28,41 @@ stages:
- tags
- merge_requests

docs_test:
extends: .docs_test
variables:
BUILD_DIR: build
CONAN_OPTIONS: ""
MAKE_CMD_DOCS: "make docs"

pages:
extends: .docs_pages
variables:
BUILD_DIR: build
CONAN_OPTIONS: ""
MAKE_CMD_DOCS: "make docs"
except:
variables:
- $AR_CI_DOCS_DISABLE == "true"

test py2-tests:
<<: *only-default
stage: test
stage: Test
tags:
- Agile_GUI_Docker
script:
- pip2 install setuptools-scm==5.0.2
- pip2 install --user --force "pytest>=3.5,<5"
- pip2 install pytest-runner==5.2 # this is py2 compatible, ver 5.3 is not
- xvfb-run -as "-screen 0 1920x1200x24" python2 setup.py pytest --addopts '-vx -m "(core or gui) and not unstable and not user_input"'

test py3-tests:
<<: *only-default
stage: test
stage: Test
tags:
- Agile_GUI_Docker
script:
- pip3 install setuptools-scm==5.0.2
- pip3 install tox
- xvfb-run -as "-screen 0 1920x1200x24" tox -r -c tox_external.ini -e py36
coverage: /^TOTAL.+?(\d+\%)$/
Expand All @@ -44,7 +76,7 @@ test py3-tests:

test py3-tests-core:
<<: *only-default
stage: test
stage: Test
tags:
- Agile_GUI_Docker
script:
Expand All @@ -62,7 +94,7 @@ test py3-tests-core:

test py3-memory-test-core:
<<: *only-default
stage: test
stage: Test
tags:
- Agile_GUI_Docker
script:
Expand Down
2 changes: 1 addition & 1 deletion .idea/inspectionProfiles/profiles_settings.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 5 additions & 3 deletions .idea/runConfigurations/Start_GUI.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

115 changes: 85 additions & 30 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,25 +5,81 @@ Information about :ref:`RAFCON` changes in each release will be published here.
details can be found in the `GIT commit log <https://github.com/DLR-RM/RAFCON/commits/develop>`__.


Patch releases 0.14.\*
----------------------
0.15.3
"""""""

- Bug Fixes:
- Fix bug in LoggingView, which freezes RAFCON


0.15.2
"""""""

- Bug Fixes:
- Make operations on the logging console thread-safe
- Define a new GUI config called 'MAX_LOGGING_BUFFER_LINES' that determines the maximum lines of the logging buffer. If the number of lines exceeds the config value, the old value will be deleted automatically via clipping.

Next Release
""""""""""""

0.15.1
"""""""

- Bug Fixes:
- Call 'show_notification' via 'idle_add'


0.15.0
"""""""

- Features:
- Add memory leak test
- Add states for execution control
- Add config option to disable execution history completely
- Add additional tests
- Libraries can now be renamed and relocated. This includes single libraries, library folders and library root keys
- Ctrl+F can be used to search for states
- Missing libraries are supported better. In case a library cannot be found, the transitions and data-flows are preserved and added to the dummy-state, which is inserted instead of the library. Furthermore, the dummy-state has the same position and size as the old library state.
- New execution-history structure: Define specific consumers for in-memory-execution-history and file-system execution history. Furthermore, another hook was defined such that RAFCON plugins can be used to define further consumers. Watch out: the config values for controlling the execution history changed


0.14.11
"""""""

- Features:
- Add search bar for lookup through state machine libraries
- Add find usage for finding the usages of state machine libraries

- Bug Fixes:
- Fix race condition in 'call_gui_callback'
- Fix handling of library interface change

- Miscellaneous:

0.14.10
"""""""

- Features:
- Add new config (``RAISE_ERROR_ON_MISSING_LIBRARY_STATES``) to make Rafcon raise error when loading


0.14.9
""""""

- Features:
- add states for execution control


0.14.8
""""""

- Bug Fixes:
- Fix py2 support


0.14.7
""""""

- Features:
- increase test coverage
- add gitlab runners support
- differentiate between py3 and py2 dependencies in setup.py
- differentiate between EXECUTION_LOG_ENABLE and EXECUTION_LOG_TO_FILESYSTEM_ENABLE config options i.e. keep memory footprint of RAFCON constant
- add memory leak test
- Fix race condition in 'call_gui_callback'


0.14.6
""""""
Expand Down Expand Up @@ -98,7 +154,7 @@ Maintenance release.

- Improvements:

- most ``[PyGTK]DeprecatedWarning``s are fixed
- most ``[PyGTK]DeprecatedWarning``\s are fixed
- graphical editor: minor performance optimizations
- specify separators for JSON files: Python 3.4 no longer changes the whitespaces in state machine files
- override builtins string in JSON files: state machine files generated by Python 2 and 3 are now fully identical
Expand All @@ -110,7 +166,7 @@ Maintenance release.
- better defaults:

- root state is named "root state", further states "[state type] [states counter]"
- script of ``ExecutionState``s uses more RAFCON features (``preemptive_wait``, return outcome name)
- script of ``ExecutionState``\s uses more RAFCON features (``preemptive_wait``, return outcome name)
- name of states uses full width of state

- provide RAFCON wheel file
Expand Down Expand Up @@ -198,7 +254,7 @@ Patch releases 0.13.\*
- optimize setup_requires in setup.py (faster installation)
- mark unreliable tests as unstable
- define timeouts for all tests

- Bug Fixes:

- :issue_ghe:`689` rafcon cannot run without numpy
Expand All @@ -214,15 +270,14 @@ Patch releases 0.13.\*
- add ExecutionTicker to see activity of state machine with high hierarchy depth

- Improvements:

- changing states (adding or removing) during step mode works now

- Bug Fixes:

- :issue_ghe:`678` script validation does not work
- :issue_ghe:`663` cannot rename connected data port of type object
- :issue_ghe:`684` ``test_simple_execution_model_and_core_destruct_with_gui`` fails when running core & gui tests
in a row
- :issue_ghe:`684` ``test_simple_execution_model_and_core_destruct_with_gui`` fails when running core & gui tests in a row
- fix pause and step mode behavior
- installation of fonts under Python 3
- various test fixed for Python 3
Expand Down Expand Up @@ -259,7 +314,7 @@ Patch releases 0.13.\*

- Changes:

- Release correct style files
- Release correct style files


0.13.2
Expand Down Expand Up @@ -425,21 +480,21 @@ Patch releases 0.12.\*
"""""""

- Features:

- maintenance release

0.12.19
"""""""

- Bug Fixes:

- fix setup.py, sdist now working on pypi

0.12.18
"""""""

- Features:

- new shortcut open library state separately as state machine by default on 'Shift+Ctrl+Space' (shortcut works for multiple states, too)

- Improvements:
Expand Down Expand Up @@ -583,7 +638,7 @@ Patch releases 0.12.\*
- copy/paste for semantic data elements
- new config value SHOW_PATH_NAMES_IN_EXECUTION_HISTORY
- make library path in state editor overview selectable

- Bug Fixes:

- :issue_ghe:`503` scoped variable looks weird
Expand Down Expand Up @@ -896,21 +951,21 @@ Patch releases 0.10.\*
""""""

- Bug Fixes:

- make execution logs compatible with execution log viewer again


0.10.0
""""""

- Improvements:

- complex actions(copy & paste, resize) are properly handled in gaphas and in the modification history
- :issue_ghe:`342` drag and drop now drops the state at the mouse position

- Bug Fixes:
- show library content for OpenGL works again

- show library content for OpenGL works again
- add as template works again
- :issue_ghe:`343` Text field does not follow cursor

Expand All @@ -921,7 +976,7 @@ Patch releases 0.9.\*
"""""

- Improvements:

- execution history can be logged and is configurable via the config.yaml

0.9.7
Expand Down Expand Up @@ -993,7 +1048,7 @@ Patch releases 0.9.\*
"""""

- Bug Fix
- fix bad storage format in combination with wrong jsonconversion version
- fix bad storage format in combination with wrong jsonconversion version

0.9.0
"""""
Expand Down Expand Up @@ -1034,7 +1089,7 @@ Patch releases 0.9.\*
- :issue_ghe:`251`: Handles are added when hovering over a transition handle
- :issue_ghe:`259`: Do not hard code version in about dialog
- :issue_ghe:`260`: Meta data is loaded several times


Patch releases 0.8.\*
---------------------
Expand Down Expand Up @@ -1062,7 +1117,7 @@ Patch releases 0.8.\*

0.8.1
"""""

- Features:

- renaming of module paths: core instead of state machine; gui instead of mvc
Expand Down Expand Up @@ -1604,4 +1659,4 @@ Patch releases 0.2.\*
"""""

- First release version
- Tool was renamed to RAFCON
- Tool was renamed to RAFCON
2 changes: 1 addition & 1 deletion CITATION.cff
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
cff-version: "1.0.3"
message: "If you use this software, please cite it using these metadata."
title: RAFCON
version: 0.14
version: 0.15
date-released: 2019-07-29
license: EPL-1.0
doi: "10.5281/zenodo.1493058"
Expand Down
27 changes: 27 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
.PHONY: all docs build clean help


all: docs


# generate build folders
build:
mkdir -p build/docs

docs: build
echo "$(dirname "$1")"
pip3 install virtualenv || return -1
python3 -m virtualenv venv --system-site-packages || return -1
# Don't use the source command since not all shells support it.
. venv/bin/activate;\
pip3 install -r requirements-py3.txt;\
sphinx-build -v -b html doc build/docs/html

clean:
rm -rf build
rm -rf venv

help:
@echo "Available Targets:"
@echo "... all"
@echo "... docs"
Loading