Skip to content

Commit

Permalink
[skip ci] fixed setup.py
Browse files Browse the repository at this point in the history
  • Loading branch information
hoffstadt committed Aug 25, 2021
1 parent aad2822 commit b8b0411
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ def setup_package():

with open(src_path + "/dearpygui/__init__.py", 'w') as file:
file.write("__version__='")
file.write(version_number(on_rtd))
file.write(version_number())
file.write("'\n")

if os.environ.get('READTHEDOCS') == 'True':
Expand Down Expand Up @@ -264,7 +264,7 @@ def setup_package():
},
)

if on_rtd:
if os.environ.get('READTHEDOCS') == 'True':
metadata['package_data']['dearpygui'] = ["_dearpygui.py", "dearpygui.py", "demo.py", "experimental.py"]
else:
metadata['package_data']['dearpygui'] = ["_dearpygui.so", "_dearpygui.pyd", "_dearpygui.pyi", "dearpygui.py", "demo.py", "experimental.py", "vcruntime140_1.dll"]
Expand Down

0 comments on commit b8b0411

Please sign in to comment.