Change opytex to opytex

This commit is contained in:
Benjamin Bertrand 2017-04-17 17:00:22 +03:00
parent a8a8a0864a
commit a5a32425c6
7 changed files with 5 additions and 6 deletions

View File

@ -2,7 +2,7 @@
# encoding: utf-8
from .opytex import main
from .bopytex import main
main()

View File

@ -13,14 +13,13 @@ import sys
from path import Path
import pytex
import pymath
import opytex.filters as filters
import bopytex.filters as filters
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
# logger = logging.getLogger("opytex")
# on met le niveau du logger à DEBUG, comme ça il écrit tout
logger = logging.getLogger(__name__)
logger.setLevel(logging.DEBUG)

View File

@ -4,12 +4,12 @@
from setuptools import setup
setup(
name='Opytex',
name='Bopytex',
version='0.1',
description='Jinja environment for latex with computing macros',
author='Benjamin Bertrand',
author_email='lafrite@poneyworld.net',
packages=['opytex'],
packages=['bopytex'],
install_requires=[
'jinja2',
'path.py',
@ -19,7 +19,7 @@ setup(
"git+http://git.poneyworld.net/pyMath/#egg=pyMath",
],
entry_points={
"console_scripts": ['opytex= opytex.opytex:main']
"console_scripts": ['bopytex= bopytex.bopytex:main']
},
)