Skip to content

Commit

Permalink
changed "wrappers" to "simple"
Browse files Browse the repository at this point in the history
  • Loading branch information
hoffstadt committed Sep 21, 2020
1 parent adb8806 commit 98012bf
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 3 deletions.
File renamed without changes.
2 changes: 1 addition & 1 deletion DearSandbox/Demo.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ def item_checked(item):
add_label_text(item + "##checklist", value="Not Checked", color=[255, 0, 0], parent="CompleteChecklistGroup")

########################################################################################################################
# Context Managers : normally in dearpygui.wrappers
# Context Managers : normally in dearpygui.simple
########################################################################################################################

def wrap_container(container):
Expand Down
2 changes: 1 addition & 1 deletion Distribution/BuildPythonWheel.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
# copy add items to temporary location
shutil.copy(location, script_dir +"/dearpygui")
shutil.copy(script_dir + "/../DearPyGui/stubs/core.pyi", script_dir + "/dearpygui")
shutil.copy(script_dir + "/../DearPyGui/stubs/wrappers.py", script_dir + "/dearpygui")
shutil.copy(script_dir + "/../DearPyGui/stubs/simple.py", script_dir + "/dearpygui")

with open(script_dir + "/dearpygui/__init__.py", 'w') as file:
file.write("pass\n")
Expand Down
2 changes: 1 addition & 1 deletion Distribution/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def has_ext_modules(foo):
],
packages=find_packages(exclude=['contrib', 'docs', 'tests']), # Required
package_data={ # Optional
'dearpygui': [DEARPYGUI_FILE, "core.pyi", "wrappers.py"],
'dearpygui': [DEARPYGUI_FILE, "core.pyi", "simple.py"],
},
distclass=BinaryDistribution
)
2 changes: 2 additions & 0 deletions docs/CHANGELOG.txt
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ Updates:
- ImPlot: upgraded to commit 0ed6307

Breaking Changes:
- Modules: dearpygui module is now called core
- Modules: wrapper module is now called simple
- Line Series: Removed "fill" keyword (use the new shade series)
- Plots: Removed all flags in favor of keywords
- Pie Chart: Removed "add_pie_chart"
Expand Down

0 comments on commit 98012bf

Please sign in to comment.