Change to source layout
This commit is contained in:
parent
873eea8919
commit
b651dbbccc
23
setup.py
23
setup.py
@ -10,6 +10,7 @@ setup(
|
|||||||
version='0.1.0',
|
version='0.1.0',
|
||||||
description='Automatically call args parsed by `docopt` as functions.',
|
description='Automatically call args parsed by `docopt` as functions.',
|
||||||
long_description=long_description,
|
long_description=long_description,
|
||||||
|
long_description_content_type="text/markdown",
|
||||||
install_requires=[
|
install_requires=[
|
||||||
'docopt'
|
'docopt'
|
||||||
],
|
],
|
||||||
@ -18,7 +19,23 @@ setup(
|
|||||||
'pytest',
|
'pytest',
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
keywords=[],
|
package_dir={'': 'src'},
|
||||||
classifiers=[],
|
keywords=[
|
||||||
entry_points={'console_scripts':['magicli_example=docs.example:cli']}
|
'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'
|
||||||
|
]
|
||||||
|
},
|
||||||
)
|
)
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
"""
|
"""
|
||||||
Usage:
|
Usage:
|
||||||
hello <name> [--amount=<int>]
|
magicli_example <name> [--amount=<int>]
|
||||||
|
|
||||||
-a=<int> --amount=<int> How often to greet
|
-a=<int> --amount=<int> How often to greet
|
||||||
"""
|
"""
|
||||||
Loading…
x
Reference in New Issue
Block a user