Skip to content

Commit

Permalink
Switch from 'scripts' to 'console_scripts/entry_points'.
Browse files Browse the repository at this point in the history
This avoids an issue where pip doesn't install the scripts.
pypa/pip#513
pypa/pip#5997
  • Loading branch information
dstein64 committed Feb 27, 2019
1 parent ddab33d commit c28d104
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 9 deletions.
8 changes: 0 additions & 8 deletions bin/vimgolf

This file was deleted.

4 changes: 3 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@
'Topic :: Games/Entertainment',
],
description='A vimgolf client written in Python',
entry_points={
'console_scripts': ['vimgolf=vimgolf.vimgolf:main'],
},
keywords=['vim', 'vimgolf'],
license='MIT',
long_description=open('README.md').read(),
Expand All @@ -30,7 +33,6 @@
package_data={'vimgolf': ['version.txt', 'vimgolf.vimrc']},
packages=['vimgolf'],
python_requires='>=3.5',
scripts=['bin/vimgolf'],
url='https://github.com/dstein64/vimgolf',
version=version,
)

0 comments on commit c28d104

Please sign in to comment.