Commit 1ee98c05 by Stalin Munoz

Fixing module imports

parent ae833cb2
Metadata-Version: 1.0
Name: boolparse
Version: 0.0.1
Summary: Boolean sentence parser
Home-page: https://git.c3.unam.mx/biosis/boolparse.git
Author: Stan
Author-email: stalin.munoz@c3.unam.mx
License: LGPL
Description: UNKNOWN
Platform: UNKNOWN
setup.py
boolparse/BooleanSentenceLexer.py
boolparse/BooleanSentenceListener.py
boolparse/BooleanSentenceParser.py
boolparse/__init__.py
boolparse/formula_parser.py
boolparse/sentece_listener.py
boolparse.egg-info/PKG-INFO
boolparse.egg-info/SOURCES.txt
boolparse.egg-info/dependency_links.txt
boolparse.egg-info/not-zip-safe
boolparse.egg-info/top_level.txt
\ No newline at end of file
......@@ -7,9 +7,9 @@ Created on Fri Mar 29 09:18:23 2019
"""
from antlr4 import CommonTokenStream,InputStream,ParseTreeWalker
from BooleanSentenceLexer import BooleanSentenceLexer
from BooleanSentenceParser import BooleanSentenceParser
from sentece_listener import SentenceListener
from boolparse.BooleanSentenceLexer import BooleanSentenceLexer
from boolparse.BooleanSentenceParser import BooleanSentenceParser
from boolparse.sentece_listener import SentenceListener
class FormulaParser:
......
......@@ -5,7 +5,7 @@ Created on Tue Apr 9 09:19:22 2019
@author: stan
"""
from logic import TRUE,FALSE,Var,Not,And,Or,\
from boolparse.logic.logic import TRUE,FALSE,Var,Not,And,Or,\
Implication,Equivalence
class CNF:
......
......@@ -6,7 +6,7 @@ Created on Fri Feb 15 08:18:45 2019
@author: stan
"""
from itertools import product
from formula_parser import FormulaParser as parser
from boolparse.formula_parser import FormulaParser as parser
class TruthTable:
"""
......
......@@ -5,9 +5,9 @@ Created on Fri Mar 29 09:11:57 2019
@author: stan
"""
from BooleanSentenceListener import BooleanSentenceListener
from boolparse.BooleanSentenceListener import BooleanSentenceListener
from collections import deque
from logic.logic import Var,TRUE,FALSE,Not,And,Or,Equivalence,Implication
from boolparse.logic.logic import Var,TRUE,FALSE,Not,And,Or,Equivalence,Implication
class SentenceListener(BooleanSentenceListener):
def __init__(self):
......
from setuptools import setup
setup(name='pypack',
version='0.1',
description='Test package',
url='http://c3.unam.mx/',
setup(name='boolparse',
version='0.0.1',
description='Boolean sentence parser',
url='https://git.c3.unam.mx/biosis/boolparse.git',
author='Stan',
author_email='stalin.munoz@c3.unam.mx',
license='LGPL',
packages=['pypack'],
packages=['boolparse'],
zip_safe=False)
from setuptools import setup
setup(name='pypack',
version='0.1',
description='Test package',
url='http://c3.unam.mx/',
author='Stan',
author_email='stalin.munoz@c3.unam.mx',
license='LGPL',
packages=['pypack'],
zip_safe=False)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment