Feat: Start cleaning installation

This commit is contained in:
Bertrand Benjamin 2019-06-28 09:16:17 +02:00
parent bcebd74691
commit 0529fec8d7
3 changed files with 12 additions and 23 deletions

View File

@ -19,8 +19,6 @@ formatter = logging.Formatter('%(name)s :: %(levelname)s :: %(message)s')
steam_handler = logging.StreamHandler() steam_handler = logging.StreamHandler()
steam_handler.setLevel(logging.DEBUG) steam_handler.setLevel(logging.DEBUG)
steam_handler.setFormatter(formatter) steam_handler.setFormatter(formatter)
# création de l'objet logger qui va nous servir à écrire dans les logs
# on met le niveau du logger à DEBUG, comme ça il écrit tout
logger = logging.getLogger(__name__) logger = logging.getLogger(__name__)
logger.setLevel(logging.DEBUG) logger.setLevel(logging.DEBUG)
logger.addHandler(steam_handler) logger.addHandler(steam_handler)
@ -29,13 +27,13 @@ logger.addHandler(steam_handler)
def setup(): def setup():
mapytex_tools = { mapytex_tools = {
"Expression": mapytex.Expression, "Expression": mapytex.Expression,
"Polynom": mapytex.Polynom, # "Polynom": mapytex.Polynom,
"Fraction": mapytex.Fraction, # "Fraction": mapytex.Fraction,
"Equation": mapytex.Equation, # "Equation": mapytex.Equation,
"random_str": mapytex.random_str, # "random_str": mapytex.random_str,
"random_pythagore": mapytex.random_pythagore, # "random_pythagore": mapytex.random_pythagore,
"Dataset": mapytex.Dataset, # "Dataset": mapytex.Dataset,
"WeightedDataset": mapytex.WeightedDataset, # "WeightedDataset": mapytex.WeightedDataset,
} }
pytex.update_export_dict(mapytex_tools) pytex.update_export_dict(mapytex_tools)

View File

@ -5,19 +5,15 @@ from setuptools import setup
setup( setup(
name='Bopytex', name='Bopytex',
version='0.1', version='0.1.1',
description='Jinja environment for latex with computing macros', description='Command line tool for compiling latex with python command embedded',
author='Benjamin Bertrand', author='Benjamin Bertrand',
author_email='lafrite@poneyworld.net', author_email='programming@opytex.org',
packages=['bopytex'], packages=['bopytex'],
install_requires=[ install_requires=[
'jinja2', 'mapytex',
'path.py', 'mypytex',
#'Mapytex',
], ],
# dependency_links=[
# "git+http://git.poneyworld.net/pyMath/#egg=pyMath",
# ],
entry_points={ entry_points={
"console_scripts": ['bopytex= bopytex.bopytex:main'] "console_scripts": ['bopytex= bopytex.bopytex:main']
}, },

View File

@ -1,5 +0,0 @@
TODO
====
* Ranger les bouts de programme
* Changer le comportement de Opytex pour produire des sujets