Skip to content
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

No INSTALL.md #55

Open
swhobbit opened this issue Nov 18, 2022 · 10 comments
Open

No INSTALL.md #55

swhobbit opened this issue Nov 18, 2022 · 10 comments

Comments

@swhobbit
Copy link

swhobbit commented Nov 18, 2022

The package has no install instructions or even a simple Makefile with an install target.

(And it doesn't run after download, no execute bits are set on the python files in git!)

Note: This on MacOS Ventura using Mac ports.

@jefsmithIBM
Copy link
Member

I found that Python does not need to be executable to run. The examples provided in the reference below use python to read in the script file. Much like a Perl script will run with perl and not be an executable file.

Here is a good reference to show how to download/install the package. I didn't have any trouble. Just had to find the nuance between running on Windows verses Linux:

https://medium.com/theropod/3270-is-terminal-84d0af522cfd

@swhobbit
Copy link
Author

swhobbit commented Nov 18, 2022

I found that Python does not need to be executable to run. The examples provided in the reference below use python to read in the script file. Much like a Perl script will run with perl and not be an executable file.

One does not normally run scripts (bash, perl or python) by explicit invoking the name of the interpreter.

Here is a good reference to show how to download/install the package. I didn't have any trouble. Just had to find the nuance between running on Windows versus Linux:

https://medium.com/theropod/3270-is-terminal-84d0af522cfd

One should not have to hunt the web for install instructions.

@najohnsn
Copy link
Member

There is an "Installing" section in the README with the command needed to install. And a Usage section that follows that has the command needed to run.

@swhobbit
Copy link
Author

There is an "Installing" section in the README with the command needed to install. And a Usage section that follows that has the command needed to run.

Which uses pip, which is useless for global installs.

Hasn't this team ever installed a python app for all users on Linux?

@najohnsn
Copy link
Member

I think you'll have to explain your issue with using pip.

@swhobbit
Copy link
Author

swhobbit commented Nov 19, 2022

I think you'll have to explain your issue with using pip.

I did: pip installs per user, and I install my terminal emulators (like everything else!) globally.

@najohnsn
Copy link
Member

najohnsn commented Nov 19, 2022

I think that, if you run pip with the authority to store into the system package directory.. it will, by default. So, you might need a sudo pip3.

@swhobbit
Copy link
Author

swhobbit commented Nov 19, 2022

I think that, if you run pip with the authority to store into the system package directory.. it will, by default. So, you might need a sudo pip3.

Nope. It whines about running as root.

Do not speculate that which can be known for certain.

Who on the development team has ever installed this on a system globally?

@swhobbit
Copy link
Author

Note: This is MacOS Ventura.

@najohnsn
Copy link
Member

Good question. I don't know that I ever have. Certainly haven't on MacOS. Python/pip leans toward doing user and virtual environment installs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants