Changes in structure and description
This commit is contained in:
parent
94522c7277
commit
325551343b
0
magicli/__init__.py
Normal file
0
magicli/__init__.py
Normal file
@ -10,7 +10,6 @@ args = magically(docopt(__doc__))
|
|||||||
"""
|
"""
|
||||||
|
|
||||||
import inspect
|
import inspect
|
||||||
from docopt import docopt
|
|
||||||
|
|
||||||
|
|
||||||
def magicli(args, glbls=None):
|
def magicli(args, glbls=None):
|
||||||
@ -1,6 +1,6 @@
|
|||||||
# magicli
|
# magicli
|
||||||
|
|
||||||
Automatically call functions from args parsed by `docopt`.
|
Automatically call args parsed by `docopt` as functions.
|
||||||
|
|
||||||
## Install
|
## Install
|
||||||
|
|
||||||
19
setup.py
19
setup.py
@ -1,13 +1,22 @@
|
|||||||
from setuptools import setup
|
from setuptools import setup, find_packages
|
||||||
|
|
||||||
|
|
||||||
|
with open('readme.md') as f:
|
||||||
|
long_description = f.read()
|
||||||
|
|
||||||
|
|
||||||
setup(
|
setup(
|
||||||
name='magicli',
|
name='magicli',
|
||||||
version='0.1.0',
|
version='0.1.0',
|
||||||
extras_require = {
|
description='Automatically call args parsed by `docopt` as functions.',
|
||||||
'tests': [
|
long_description=long_description,
|
||||||
|
packages=find_packages(),
|
||||||
|
install_requires=[],
|
||||||
|
extras_require={
|
||||||
|
'tests':[
|
||||||
'pytest',
|
'pytest',
|
||||||
'docopt',
|
|
||||||
]
|
]
|
||||||
}
|
},
|
||||||
|
keywords=[],
|
||||||
|
classifiers=[],
|
||||||
)
|
)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user