Skip to content

setup.py: improvements for pip install and venv #510

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

Merged
merged 1 commit into from
Dec 7, 2022

Conversation

thiell
Copy link
Collaborator

@thiell thiell commented Nov 30, 2022

  • remove root exception handling
  • include man pages as data_files
  • check for config files in sys.prefix/etc/clustershell
  • if $CLUSTERSHELL_CFGDIR is defined, always try it first

This allows clustershell to be installed as user in a venv using pip
install or using pip install --user with man pages.

Root installation using pip is now discouraged. If done, /usr/local is
likely to be used as the install prefix.

Fixes #389.

@thiell thiell added this to the 1.9.1 milestone Nov 30, 2022
@thiell thiell self-assigned this Nov 30, 2022
@thiell thiell force-pushed the b191_setup_improved branch 4 times, most recently from c44859b to f005e81 Compare December 7, 2022 01:15
- remove root exception handling
- include man pages as data_files
- check for config files in sys.prefix/etc/clustershell
- if $CLUSTERSHELL_CFGDIR is defined, always try it first

This allows clustershell to be installed as user in a venv using pip
install or using pip install --user with man pages.

Root installation using pip is now discouraged. If done, /usr/local is
likely to be used as the install prefix.

Fixes cea-hpc#389.
@thiell thiell force-pushed the b191_setup_improved branch from f005e81 to 873120d Compare December 7, 2022 01:27
@thiell thiell merged commit 5343c44 into cea-hpc:master Dec 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

setup.py should not select install directory based on uid
1 participant