chapel-lang / pychapel

pych - The Python/Chapel integration module. NOTE: This repository is now deprecated.
Apache License 2.0
16 stars 13 forks source link

Improve Installation of Chapel dependency #62

Open lydia-duncan opened 7 years ago

lydia-duncan commented 7 years ago

Seen in #61, there are a couple of problems with the current installation strategy.

Other, related issues:

russel commented 7 years ago

I am assuming this is now the place to discuss the issue of the copying of the chapel libraries?

(Sorry I have been absent, I shall restart efforts on the Python 3 stuff shortly.)

I guess the first question I had ages ago was "Why do the files have to be copied? Why is it not possible to use environment variables to achieve the access to the built libraries?" I believe I then used symbolic links instead of copying. Building and installing PyChapel, requires (or required) a rebuild of Chapel so an update to the "copied" files anyway.

lydia-duncan commented 7 years ago

I don't know the answer, but I agree with you that we shouldn't have to copy the files. I would imagine it was more chosen as one way to solve the problem of "Where is my Chapel install?" rather than because it was viewed as the only way to find the Chapel install. Updating the issue description to include that as an action item

russel commented 7 years ago

Or, maybe,... a "deployed" PyChapel with the copied files makes a directory that can be tarred or zipped up and it makes a complete distribution. I had previously been thinking only in terms of development. Putting on a packager/DevOps mindset it could be this is the first stage of making a release of a self-contained thing with only libc as a dependency.

buddha314 commented 7 years ago

I just created a related ticket, not quite a duplicate: https://github.com/chapel-lang/pychapel/issues/75