Skip to content
This repository has been archived by the owner on Jul 16, 2023. It is now read-only.

Commit

Permalink
reenable dearpygui dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
rjdbcm committed Nov 16, 2021
1 parent a54105a commit 0ecd2b4
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion Aspidites/tests/examples/examples.wom
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<^>3

(sieve(n = /0 -> int; limit = /0 -> int; is_prime = [/0] -> *)) *
i<@>range(n*n, limit+1, n)
i<@>range(n**2, limit+1, n)
f = False
is_prime = is_prime[$]i,f
<*>is_prime
Expand Down
15 changes: 7 additions & 8 deletions Aspidites/woma/guiutils.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
# cython: language_level=3, annotation_typing=True, c_string_encoding=utf-8, boundscheck=False, wraparound=False, initializedcheck=False
"""Disabled as of 2.1.6 but it does seem to work.Except with CD
"""
# TODO Fix dearpygui module not found
# import dearpygui.dearpygui as dpg
#
# import sys
# this = sys.modules[__name__]
#
# for i in dir(dpg):
# setattr(this, i, getattr(dpg, i))
import dearpygui.dearpygui as dpg

import sys
this = sys.modules[__name__]

for i in dir(dpg):
setattr(this, i, getattr(dpg, i))
1 change: 1 addition & 0 deletions Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ name = "pypi"

[packages]
numpy = "*"
dearpygui = "*"
cython = "*"
pytest = "*"
hypothesis = "*"
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
[build-system]
requires = ["setuptools", "wheel", "Cython", "pytest"]
requires = ["setuptools", "wheel", "Cython", "dearpygui", "pytest"]

0 comments on commit 0ecd2b4

Please sign in to comment.