Skip to content

Commit 7af2dcf

Browse files
authored
...
1 parent 727d194 commit 7af2dcf

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

Funz/install.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ def availableModels(refresh_repo = False):
5959
return( [l(r) for r in _github_repos if re.subn("plugin-","",r['name'])[1]>0] )
6060

6161
import zipfile
62-
from .inst.Funz.Funz import _Funz_Models
62+
from .inst.Funz import Funz
6363
def install_fileModel(model_zip, force=False):
6464
""" Install Funz model plugin from local zip file.
6565
@param model_zip zip file of plugin. Usually plugin-XYZ.zip
@@ -80,7 +80,7 @@ def install_fileModel(model_zip, force=False):
8080

8181
# reload plugins in Funz env
8282
_jclassFunz.init()
83-
inst.Funz.Funz._Funz_Models = installedModels()
83+
Funz._Funz_Models = installedModels()
8484

8585
if not (model in installedModels()):
8686
raise Exception("Could not install model "+model+" from "+model_zip)
@@ -235,7 +235,7 @@ def availableDesigns(refresh_repo = False):
235235
return( [l(r) for r in _github_repos if re.subn("algorithm-","",r['name'])[1]>0] )
236236

237237
import zipfile
238-
from .inst.Funz.Funz import _Funz_Designs
238+
from .inst.Funz import Funz
239239
def install_fileDesign(design_zip, force=False):
240240
""" Install Funz design plugin from local zip file.
241241
@param design_zip zip file of algorithm. Usually algorithm-XYZ.zip
@@ -260,7 +260,7 @@ def install_fileDesign(design_zip, force=False):
260260

261261
# reload plugins in Funz env
262262
_jclassFunz.init()
263-
inst.Funz.Funz._Funz_Designs = installedDesigns()
263+
Funz._Funz_Designs = installedDesigns()
264264

265265
if not (design in installedDesigns()):
266266
raise Exception("Could not install design "+design+" from "+design_zip)

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
setuptools.setup(
44
name='Funz',
5-
version='1.15-2',
5+
version='1.15-3',
66
scripts=['Funz/client.py','Funz/calculator.py','Funz/install.py','Funz/inst/Funz/Funz.py'] ,
77
author="Yann Richet",
88
author_email="[email protected]",

0 commit comments

Comments
 (0)