1
0
mirror of https://github.com/kellyjonbrazil/jc.git synced 2025-06-17 00:07:37 +02:00

use entry_points instead of scripts

This commit is contained in:
Kelly Brazil
2019-10-16 15:03:34 -07:00
parent 72c69e7de5
commit e572b2edfa
2 changed files with 32 additions and 24 deletions

View File

@ -5,7 +5,7 @@ with open('README.md', 'r') as f:
setuptools.setup(
name='jc',
version='0.1',
version='0.1.1',
author='Kelly Brazil',
description='This tool serializes the output of popular command line tools to structured JSON output.',
install_requires=[
@ -17,7 +17,11 @@ setuptools.setup(
python_requires='~=3.4',
url='https://github.com/kellyjonbrazil/jc',
packages=setuptools.find_packages(),
scripts=['jc/jc'],
entry_points={
'console_scripts': [
'jc = jc/jc:main',
],
},
classifiers=[
'Programming Language :: Python :: 3',
'License :: OSI Approved :: MIT License',