Change opytex to opytex
This commit is contained in:
parent
a8a8a0864a
commit
a5a32425c6
@ -2,7 +2,7 @@
|
|||||||
# encoding: utf-8
|
# encoding: utf-8
|
||||||
|
|
||||||
|
|
||||||
from .opytex import main
|
from .bopytex import main
|
||||||
|
|
||||||
main()
|
main()
|
||||||
|
|
@ -13,14 +13,13 @@ import sys
|
|||||||
from path import Path
|
from path import Path
|
||||||
import pytex
|
import pytex
|
||||||
import pymath
|
import pymath
|
||||||
import opytex.filters as filters
|
import bopytex.filters as filters
|
||||||
|
|
||||||
formatter = logging.Formatter('%(name)s :: %(levelname)s :: %(message)s')
|
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
|
# 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
|
# 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)
|
6
setup.py
6
setup.py
@ -4,12 +4,12 @@
|
|||||||
from setuptools import setup
|
from setuptools import setup
|
||||||
|
|
||||||
setup(
|
setup(
|
||||||
name='Opytex',
|
name='Bopytex',
|
||||||
version='0.1',
|
version='0.1',
|
||||||
description='Jinja environment for latex with computing macros',
|
description='Jinja environment for latex with computing macros',
|
||||||
author='Benjamin Bertrand',
|
author='Benjamin Bertrand',
|
||||||
author_email='lafrite@poneyworld.net',
|
author_email='lafrite@poneyworld.net',
|
||||||
packages=['opytex'],
|
packages=['bopytex'],
|
||||||
install_requires=[
|
install_requires=[
|
||||||
'jinja2',
|
'jinja2',
|
||||||
'path.py',
|
'path.py',
|
||||||
@ -19,7 +19,7 @@ setup(
|
|||||||
"git+http://git.poneyworld.net/pyMath/#egg=pyMath",
|
"git+http://git.poneyworld.net/pyMath/#egg=pyMath",
|
||||||
],
|
],
|
||||||
entry_points={
|
entry_points={
|
||||||
"console_scripts": ['opytex= opytex.opytex:main']
|
"console_scripts": ['bopytex= bopytex.bopytex:main']
|
||||||
},
|
},
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user