Feat: Start cleaning installation
This commit is contained in:
parent
bcebd74691
commit
0529fec8d7
@ -19,8 +19,6 @@ formatter = logging.Formatter('%(name)s :: %(levelname)s :: %(message)s')
|
||||
steam_handler = logging.StreamHandler()
|
||||
steam_handler.setLevel(logging.DEBUG)
|
||||
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.setLevel(logging.DEBUG)
|
||||
logger.addHandler(steam_handler)
|
||||
@ -29,13 +27,13 @@ logger.addHandler(steam_handler)
|
||||
def setup():
|
||||
mapytex_tools = {
|
||||
"Expression": mapytex.Expression,
|
||||
"Polynom": mapytex.Polynom,
|
||||
"Fraction": mapytex.Fraction,
|
||||
"Equation": mapytex.Equation,
|
||||
"random_str": mapytex.random_str,
|
||||
"random_pythagore": mapytex.random_pythagore,
|
||||
"Dataset": mapytex.Dataset,
|
||||
"WeightedDataset": mapytex.WeightedDataset,
|
||||
# "Polynom": mapytex.Polynom,
|
||||
# "Fraction": mapytex.Fraction,
|
||||
# "Equation": mapytex.Equation,
|
||||
# "random_str": mapytex.random_str,
|
||||
# "random_pythagore": mapytex.random_pythagore,
|
||||
# "Dataset": mapytex.Dataset,
|
||||
# "WeightedDataset": mapytex.WeightedDataset,
|
||||
}
|
||||
pytex.update_export_dict(mapytex_tools)
|
||||
|
||||
|
14
setup.py
14
setup.py
@ -5,19 +5,15 @@ from setuptools import setup
|
||||
|
||||
setup(
|
||||
name='Bopytex',
|
||||
version='0.1',
|
||||
description='Jinja environment for latex with computing macros',
|
||||
version='0.1.1',
|
||||
description='Command line tool for compiling latex with python command embedded',
|
||||
author='Benjamin Bertrand',
|
||||
author_email='lafrite@poneyworld.net',
|
||||
author_email='programming@opytex.org',
|
||||
packages=['bopytex'],
|
||||
install_requires=[
|
||||
'jinja2',
|
||||
'path.py',
|
||||
#'Mapytex',
|
||||
'mapytex',
|
||||
'mypytex',
|
||||
],
|
||||
# dependency_links=[
|
||||
# "git+http://git.poneyworld.net/pyMath/#egg=pyMath",
|
||||
# ],
|
||||
entry_points={
|
||||
"console_scripts": ['bopytex= bopytex.bopytex:main']
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user