Skip to content

Commit

Permalink
Merge branch 'entry_point'
Browse files Browse the repository at this point in the history
  • Loading branch information
Kodiologist committed Nov 26, 2016
2 parents f644dda + 8354066 commit f831b3e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,15 +51,20 @@
if os.name == 'nt':
install_requires.append('pyreadline>=2.1')

ver = sys.version_info[0]

setup(
name=PKG,
version=__version__,
install_requires=install_requires,
entry_points={
'console_scripts': [
'hy = hy.cmdline:hy_main',
'hy%d = hy.cmdline:hy_main' % ver,
'hyc = hy.cmdline:hyc_main',
'hyc%d = hy.cmdline:hyc_main' % ver,
'hy2py = hy.cmdline:hy2py_main',
'hy2py%d = hy.cmdline:hy2py_main' % ver,
]
},
packages=find_packages(exclude=['tests*']),
Expand Down

0 comments on commit f831b3e

Please sign in to comment.