diff --git a/ghpythonremote/_configure_ironpython_installation.py b/ghpythonremote/_configure_ironpython_installation.py index 581446d..d1ccfa6 100644 --- a/ghpythonremote/_configure_ironpython_installation.py +++ b/ghpythonremote/_configure_ironpython_installation.py @@ -65,7 +65,7 @@ "examples/CPython_to_GH.py", ], ), - ("", ["ghcluster/GHPythonRemote.ghuser"]), + ("", ["ghcluster/GHPythonRemote.ghuser", "examples/TestClusterGHPythonRemote.ghuser"]), ] for copy_pair in copy_pairs: dest = os.path.join(dest_dir_path, copy_pair[0]) diff --git a/ghpythonremote/examples/CPython_to_GH.py b/ghpythonremote/examples/CPython_to_GH.py index aa2a8de..05fc91a 100644 --- a/ghpythonremote/examples/CPython_to_GH.py +++ b/ghpythonremote/examples/CPython_to_GH.py @@ -54,6 +54,6 @@ gh_curves = rs.coerceguidlist(curves_id) # Call a GH component print(sum(rghcomp.Area(gh_curves)[0])) - # Call a GH user object, previously created with the name "TestClusterGHPR" + # Call a GH user object, previously created with the name "TestClusterGHPythonRemote" # returns x^2 + y + 2 - print(rghuo.TestClusterGHPR(3, y=4)) # = 15 + print(rghuo.TestClusterGHPythonRemote(3, y=4)) # = 15 diff --git a/ghpythonremote/examples/TestClusterGHPR.ghuser b/ghpythonremote/examples/TestClusterGHPR.ghuser deleted file mode 100644 index a617bc3..0000000 Binary files a/ghpythonremote/examples/TestClusterGHPR.ghuser and /dev/null differ diff --git a/ghpythonremote/examples/TestClusterGHPythonRemote.ghuser b/ghpythonremote/examples/TestClusterGHPythonRemote.ghuser new file mode 100644 index 0000000..4a4c994 Binary files /dev/null and b/ghpythonremote/examples/TestClusterGHPythonRemote.ghuser differ diff --git a/setup.py b/setup.py index 52389bf..307d3b5 100644 --- a/setup.py +++ b/setup.py @@ -67,6 +67,7 @@ 'examples/GH_python_remote.ghx', 'examples/GH_python_remote_plt_example.ghx', 'examples/CPython_to_GH.py', + 'examples/TestClusterGHPythonRemote.ghuser' 'ghcluster/GHPythonRemote.ghuser', ], },