-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cudaup.sh not portable (does not run "out of the box" on freebsd) #11
Comments
@bogen85 Let's proceed and rewrite it in python. |
Alright, sounds good. I'll create my own |
@Alexey-T I created CudaText_up_py It seems to work on FreeBSD and Linux, but I'm sure I have permissions and other issues to work out, plus I've not exercised the "install packages to Lazarus" as I've not make my own custom Lazarus directory. As such, I would consider this work in progress as I work out any issues. For now see Python to use is automatic, ./cudaup.sh finds a compatible one and uses it (but one can be specified). I will document that in the README.md. One does not need to be in the CudaText_up_py directory to run the script, one can provide the complete path to the script (the other files/folders it comes with must reside with the the script.) I don't have it working if it is in PATH yet, but I will add the ability to run it from anywhere if it is the PATH. By default the working directory (where src is created/used) is the current directory, but a different one can be specified. |
Great! I will try it soon. |
Hi, guys. Tried CudaText_up_py for MacOS. opened an issue here: bogen85/CudaText_up_py#1 |
I got cudatext to build on freebsd by hacking cudaup.sh in a non-maintainable way.
Only needed to install a few packages to get the build via
./cudaup.sh -o freebsd -m
to completeI would like to fix this and submit a PR that makes cudaup portable on Linux and FreeBSD, but I'd almost prefer to rewrite it in python (so it is not relying on external commands like getopt that may not be portable between Linux and FreeBSD) and just have cudaup.sh be a wrapper for cudaup.py, and determine which python to execute by checking which python versions are installed, and choosing the latest (or something like that, to be determined...).
So I'd like to discuss the most agreeable way to proceed on this.
The text was updated successfully, but these errors were encountered: