Skip to content

Commit

Permalink
Fix #40. Add test cluster to installed files.
Browse files Browse the repository at this point in the history
  • Loading branch information
pilcru committed Feb 12, 2021
1 parent 34c4e1f commit ce625e1
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion ghpythonremote/_configure_ironpython_installation.py
Original file line number Diff line number Diff line change
Expand Up @@ -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])
Expand Down
4 changes: 2 additions & 2 deletions ghpythonremote/examples/CPython_to_GH.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Binary file removed ghpythonremote/examples/TestClusterGHPR.ghuser
Binary file not shown.
Binary file not shown.
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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',
],
},
Expand Down

0 comments on commit ce625e1

Please sign in to comment.