Change to source layout

This commit is contained in:
Patrick Elmer 2022-07-12 10:20:25 +09:00
parent 873eea8919
commit b651dbbccc
3 changed files with 21 additions and 4 deletions

View File

@ -10,6 +10,7 @@ setup(
version='0.1.0',
description='Automatically call args parsed by `docopt` as functions.',
long_description=long_description,
long_description_content_type="text/markdown",
install_requires=[
'docopt'
],
@ -18,7 +19,23 @@ setup(
'pytest',
]
},
keywords=[],
classifiers=[],
entry_points={'console_scripts':['magicli_example=docs.example:cli']}
package_dir={'': 'src'},
keywords=[
'python',
'docopt',
'cli'
],
classifiers=[
"Development Status :: 1 - Planning",
"Environment :: Console",
"Intended Audience :: Developers",
"Programming Language :: Python :: 3",
"Operating System :: Unix",
"Operating System :: OS Independent",
],
entry_points={
'console_scripts':[
'magicli_example=example:cli'
]
},
)

View File

@ -1,6 +1,6 @@
"""
Usage:
hello <name> [--amount=<int>]
magicli_example <name> [--amount=<int>]
-a=<int> --amount=<int> How often to greet
"""