Skip to content

Commit

Permalink
3.5.2 push
Browse files Browse the repository at this point in the history
  • Loading branch information
dkundih committed Dec 1, 2021
1 parent ac98211 commit c54b8c0
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 8 deletions.
7 changes: 6 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -261,4 +261,9 @@ CHANGELOG

3.5.1 (01/12/2021)
- CLI environment tests.
- code readablity improved.
- code readablity improved.

3.5.2 (01/12/2021)
- CLI environment tests.
- dualityCLI integration into the source.
- CLI contents added into __all__ and __init__ files.
6 changes: 6 additions & 0 deletions duality/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@

#ignore __pycache__ from forming inside the library directory.
import sys
from duality.cli.cli import dualityCLI
sys.dont_write_bytecode = True

#meta data imports from the duality library.
Expand Down Expand Up @@ -86,6 +87,10 @@
auto_sort,
)

#cli imports
from duality.cli import cli
from duality.cli.cli import *

#all relevant contents.
__all__ = [
random_value,
Expand All @@ -100,4 +105,5 @@
MonteCarlo,
EOQ,
Dijkstra,
dualityCLI,
]
20 changes: 14 additions & 6 deletions duality/cli/__init__.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,19 @@
#import all relevant contents from the associated module.
from duality.objects.montecarlo import MonteCarlo
from duality.objects.eoq import EOQ
from duality.objects.dijkstra import Dijkstra
from duality.cli import cli
from duality.cli.cli import (
menu,
dualityCLI,
MonteCarloCLI,
DijkstraCLI,
EOQCLI,
)

#all relevant contents.
__all__ = [
MonteCarlo,
EOQ,
Dijkstra,
cli,
menu,
dualityCLI,
MonteCarloCLI,
DijkstraCLI,
EOQCLI,
]
2 changes: 1 addition & 1 deletion duality/misc/_meta.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

]
__license__ = 'Copyright © 2021- David Kundih. All rights reserved. Licensed under the Apache License, Version 2.0 | For more details about the license and terms of use visit the official duality documentation linked at https://github.com/dkundih/duality and https://pypi.org/project/duality'
__version__ = '3.5.1'
__version__ = '3.5.2'
__documentation__ = 'https://github.com/dkundih/duality | https://pypi.org/project/duality'
__contact__ = '[email protected] | [email protected]'
__donate__ = 'https://patreon.com/dkundih | https://buymeacoffee.com/dkundih'

0 comments on commit c54b8c0

Please sign in to comment.