Skip to content

Commit 9210541

Browse files
stefankoeglCopilot
andauthored
Apply suggestions from code review
Co-authored-by: Copilot Autofix powered by AI <[email protected]>
1 parent 93643af commit 9210541

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

setup.py

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,13 @@
2626

2727
if has_setuptools:
2828
OPTIONS = {
29-
'install_requires': REQUIREMENTS
29+
'install_requires': REQUIREMENTS,
30+
'entry_points': {
31+
'console_scripts': [
32+
'jsondiff = jsonpatch._jsondiff_cli:main',
33+
'jsonpatch = jsonpatch._jsonpatch_cli:main',
34+
]
35+
},
3036
}
3137
else:
3238
OPTIONS = {}
@@ -79,14 +85,8 @@
7985
author_email=EMAIL,
8086
license=LICENSE,
8187
url=WEBSITE,
82-
py_modules=MODULES,
88+
packages=[PACKAGE],
8389
package_data={'': ['requirements.txt']},
84-
entry_points={
85-
'console_scripts': [
86-
'jsondiff = jsonpatch._jsondiff_cli:main',
87-
'jsonpatch = jsonpatch._jsonpatch_cli:main',
88-
]
89-
},
9090
classifiers=CLASSIFIERS,
9191
python_requires='>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*, !=3.5.*, !=3.6.*',
9292
project_urls={

0 commit comments

Comments
 (0)