Merge branch 'entry_point'

This commit is contained in:
Kodi Arfer 2016-11-25 16:04:24 -08:00
commit f831b3e98f

View File

@ -51,6 +51,8 @@ if sys.version_info[:2] < (2, 7):
if os.name == 'nt': if os.name == 'nt':
install_requires.append('pyreadline>=2.1') install_requires.append('pyreadline>=2.1')
ver = sys.version_info[0]
setup( setup(
name=PKG, name=PKG,
version=__version__, version=__version__,
@ -58,8 +60,11 @@ setup(
entry_points={ entry_points={
'console_scripts': [ 'console_scripts': [
'hy = hy.cmdline:hy_main', 'hy = hy.cmdline:hy_main',
'hy%d = hy.cmdline:hy_main' % ver,
'hyc = hy.cmdline:hyc_main', 'hyc = hy.cmdline:hyc_main',
'hyc%d = hy.cmdline:hyc_main' % ver,
'hy2py = hy.cmdline:hy2py_main', 'hy2py = hy.cmdline:hy2py_main',
'hy2py%d = hy.cmdline:hy2py_main' % ver,
] ]
}, },
packages=find_packages(exclude=['tests*']), packages=find_packages(exclude=['tests*']),