setup.py: improvements for pip install and venv by thiell · Pull Request #510 · clustershell/clustershell · GitHub
Skip to content

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

Merged
thiell merged 1 commit into
clustershell:masterfrom
thiell:b191_setup_improved
Dec 7, 2022
Merged

setup.py: improvements for pip install and venv#510
thiell merged 1 commit into
clustershell:masterfrom
thiell:b191_setup_improved

Conversation

@thiell

@thiell thiell commented Nov 30, 2022

Copy link
Copy Markdown
Collaborator
  • 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 clustershell#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 clustershell: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