Skip to content

install: also install [project.gui-scripts] for direct/pth installs - #827

Open
r3wretrhy wants to merge 1 commit into
pypa:mainfrom
r3wretrhy:fix/install-gui-scripts
Open

r3wretrhy wants to merge 1 commit into
pypa:mainfrom
r3wretrhy:fix/install-gui-scripts

Conversation

@r3wretrhy

Copy link
Copy Markdown
Contributor

Direct installs (flit install --pth-file, --symlink, and copy) already map [project.gui-scripts] into entrypoints['gui_scripts'], but only console_scripts were passed to install_scripts. So GUI entry points never got scripts written (while pip install -e . works).

This installs gui_scripts the same way as console_scripts on the direct-install path.

Fixes #585

Test plan

  • pytest tests/test_install.py tests/test_config.py — 30 passed (includes new test_install_gui_scripts_pth)

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

Successfully merging this pull request may close these issues.

flit install --pth-file doesn't build [project.gui-scripts]

1 participant