Skip to content
Snippets Groups Projects
Commit 6c6c38f3 authored by Dominik Battefeld's avatar Dominik Battefeld
Browse files

Add new yaml proposal, graph + graph plot dependencies

parent 463faa1a
No related branches found
No related tags found
1 merge request!19Resolve "Add recipe yaml check + visualize recipes"
CuttingBoard:
type: Equipment
Pot:
type: Equipment
Pan:
type: Equipment
# --------------------------------------------------------------------------------
Tomato:
type: Ingredient
Lettuce:
type: Ingredient
Onion:
type: Ingredient
Meat:
type: Ingredient
Bun:
type: Ingredient
ChoppedTomato:
type: Ingredient
needs: [ Tomato ]
steps: 500
equipment: CuttingBoard
ChoppedLettuce:
type: Ingredient
needs: [ Lettuce ]
steps: 700
equipment: CuttingBoard
ChoppedOnion:
type: Ingredient
needs: [ Onion ]
steps: 500
equipment: CuttingBoard
ChoppedMeat:
type: Ingredient
needs: [ Meat ]
steps: 700
equipment: CuttingBoard
CookedPatty:
type: Ingredient
steps: 500
needs: [ ChoppedMeat ]
equipment: Pan
# --------------------------------------------------------------------------------
Burger:
type: Meal
needs: [ Bun, ChoppedLettuce, ChoppedTomato, CookedPatty ]
equipment: [ ]
Salad:
type: Meal
needs: [ ChoppedLettuce, ChoppedTomato ]
equipment: [ ]
TomatoSoup:
type: Meal
steps: 500
needs: [ ChoppedTomato, ChoppedTomato, ChoppedTomato ]
equipment: Pot
OnionSoup:
type: Meal
steps: 500
needs: [ ChoppedOnion, ChoppedOnion, ChoppedOnion ]
equipment: Pot
......@@ -27,6 +27,7 @@ def setup_logging():
logging.StreamHandler(sys.stdout),
],
)
logging.getLogger("matplotlib").setLevel(logging.WARNING)
def main():
......
......@@ -10,7 +10,16 @@ with open("README.md") as readme_file:
with open("CHANGELOG.md") as history_file:
history = history_file.read()
requirements = ["numpy", "pygame", "scipy", "pytest>=3", "pyyaml"]
requirements = [
"numpy",
"pygame",
"scipy",
"pytest>=3",
"pyyaml",
"networkx",
"matplotlib",
"pygraphviz",
]
test_requirements = [
"pytest>=3",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment