diff --git a/opytex/__init__.py b/bopytex/__init__.py similarity index 100% rename from opytex/__init__.py rename to bopytex/__init__.py diff --git a/opytex/__main__.py b/bopytex/__main__.py similarity index 87% rename from opytex/__main__.py rename to bopytex/__main__.py index 5b4a049..519c2cf 100644 --- a/opytex/__main__.py +++ b/bopytex/__main__.py @@ -2,7 +2,7 @@ # encoding: utf-8 -from .opytex import main +from .bopytex import main main() diff --git a/opytex/opytex.py b/bopytex/bopytex.py similarity index 98% rename from opytex/opytex.py rename to bopytex/bopytex.py index a7a954c..7651164 100755 --- a/opytex/opytex.py +++ b/bopytex/bopytex.py @@ -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) diff --git a/opytex/filters.py b/bopytex/filters.py similarity index 100% rename from opytex/filters.py rename to bopytex/filters.py diff --git a/opytex/lib/pythagore.py b/bopytex/lib/pythagore.py similarity index 100% rename from opytex/lib/pythagore.py rename to bopytex/lib/pythagore.py diff --git a/opytex/macros/poly2Deg.tex b/bopytex/macros/poly2Deg.tex similarity index 100% rename from opytex/macros/poly2Deg.tex rename to bopytex/macros/poly2Deg.tex diff --git a/setup.py b/setup.py index b2a6077..15fe3af 100644 --- a/setup.py +++ b/setup.py @@ -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'] }, )