Skip to content

Commit 9c4cb5e

Browse files
committed
entry_points for CLI and package_data
1 parent 8324316 commit 9c4cb5e

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

setup.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,7 @@
22

33
setup(name='Leetcode API Client',
44
version='0.1',
5-
packages=find_packages())
5+
packages=find_packages(),
6+
entry_points={'console_scripts': ['leet = leetcode.main:main'],},
7+
package_data={'': ['*.yaml', '*.graphql']},
8+
)

0 commit comments

Comments
 (0)