Bump version
This commit is contained in:
parent
c103347015
commit
4782426b49
@ -17,7 +17,8 @@ setup(
|
|||||||
'magicli',
|
'magicli',
|
||||||
],
|
],
|
||||||
install_requires=[
|
install_requires=[
|
||||||
'pargv>=0.2.0'
|
'pargv>=0.2.0',
|
||||||
|
'tomli_w',
|
||||||
],
|
],
|
||||||
extras_require={
|
extras_require={
|
||||||
'dev':[
|
'dev':[
|
||||||
22
magicli/TEST.py
Normal file
22
magicli/TEST.py
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
def hi(
|
||||||
|
flag=False,
|
||||||
|
true=True,
|
||||||
|
false=False,
|
||||||
|
none=None,
|
||||||
|
empty='',
|
||||||
|
string='string',
|
||||||
|
lst=[],
|
||||||
|
dct={},
|
||||||
|
zero=0,
|
||||||
|
one=1,
|
||||||
|
):
|
||||||
|
# TODO:
|
||||||
|
# - `--flag=0` still leads to True value
|
||||||
|
if flag:
|
||||||
|
print('Flag is set')
|
||||||
|
print(flag)
|
||||||
|
# print('Hi', name)
|
||||||
|
...
|
||||||
|
|
||||||
|
|
||||||
|
import magicli
|
||||||
@ -0,0 +1 @@
|
|||||||
|
__version__ = '0.3.0'
|
||||||
@ -10,9 +10,6 @@ except ModuleNotFoundError:
|
|||||||
import tomli_w
|
import tomli_w
|
||||||
|
|
||||||
|
|
||||||
__version__ = '0.3.0'
|
|
||||||
|
|
||||||
|
|
||||||
def magicli(exclude=['main'], glbls=None, argv=None):
|
def magicli(exclude=['main'], glbls=None, argv=None):
|
||||||
"""
|
"""
|
||||||
Get all functions from calling file and interprets them as CLI commands.
|
Get all functions from calling file and interprets them as CLI commands.
|
||||||
|
|||||||
@ -24,7 +24,7 @@ dependencies = [
|
|||||||
"tomli>=1.1.0; python_version < '3.11'",
|
"tomli>=1.1.0; python_version < '3.11'",
|
||||||
"tomli_w",
|
"tomli_w",
|
||||||
]
|
]
|
||||||
dynamic = ["version", "description"]
|
dynamic = ["version"]
|
||||||
|
|
||||||
[project.optional-dependencies]
|
[project.optional-dependencies]
|
||||||
dev = [
|
dev = [
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user