Changeset 4008 for Serveur


Ignore:
Timestamp:
09/21/10 18:13:51 (9 years ago)
Author:
kent1
Message:

Formatage

Location:
Serveur/trac/TracPiwik
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • Serveur/trac/TracPiwik/setup.py

    r3999 r4008  
    1313
    1414setup(
    15     name = tp.__package__,
    16     version = tp.__version__,
    17     author = tp.__author__,
    18     author_email = tp.__email__,
    19     description = tp.__summary__,
    20     license = tp.__license__,
    21     url = tp.__url__,
    22     download_url = 'http://python.org/pypi/%s' % tp.__package__,
    23     long_description = re.sub(r'(\.\.[\s]*[\w]*::[\s]*[\w+]*\n)+', r'::\n',
     15    name=tp.__package__,
     16    version=tp.__version__,
     17    author=tp.__author__,
     18    author_email=tp.__email__,
     19    description=tp.__summary__,
     20    license=tp.__license__,
     21    url=tp.__url__,
     22    download_url='http://python.org/pypi/%s' % tp.__package__,
     23    long_description=re.sub(r'(\.\.[\s]*[\w]*::[\s]*[\w+]*\n)+', r'::\n',
    2424                              open('README.txt').read()),
    25     packages = ['tracext', 'tracext.piwik'],
    26     namespace_packages = ['tracext'],
    27     package_data = {'tracext.piwik': ['templates/*.html',
     25    packages=['tracext', 'tracext.piwik'],
     26    namespace_packages=['tracext'],
     27    package_data={'tracext.piwik': ['templates/*.html',
    2828                                                 'htdocs/*.css']},
    29     include_package_data = True,
    30     install_requires = ['Trac>=0.11'],
    31     keywords = "trac plugin piwik",
    32     entry_points = """
     29    include_package_data=True,
     30    install_requires=['Trac>=0.11'],
     31    keywords="trac plugin piwik",
     32    entry_points="""
    3333    [trac.plugins]
    3434      tracext.piwik = tracext.piwik
     
    3636      tracext.piwik.web_ui = tracext.piwik.web_ui
    3737    """,
    38     classifiers = ['Framework :: Trac']
     38    classifiers=['Framework :: Trac']
    3939)
  • Serveur/trac/TracPiwik/tracext/piwik/__init__.py

    r4005 r4008  
    77# ==============================================================================
    88
    9 __version__     = '0.0.1'
    10 __author__      = 'kent1'
    11 __email__       = 'kent1@arscenic.info'
    12 __package__     = 'TracPiwik'
    13 __license__     = 'GNU/GPL v3'
    14 __url__         = 'http://technique.arscenic.org/services-web/subversion-et-trac/ameliorer-et-optimiser-trac/article/trac-et-piwik-analyse-des'
    15 __summary__     = 'Trac plugin to enable your trac environment to be logged' + \
     9__version__ = '0.0.1'
     10__author__ = 'kent1'
     11__email__ = 'kent1@arscenic.info'
     12__package__ = 'TracPiwik'
     13__license__ = 'GNU/GPL v3'
     14__url__ = 'http://technique.arscenic.org/services-web/subversion-et-trac/ameliorer-et-optimiser-trac/article/trac-et-piwik-analyse-des'
     15__summary__ = 'Trac plugin to enable your trac environment to be logged' + \
    1616                  ' by a Piwik server'
    1717
  • Serveur/trac/TracPiwik/tracext/piwik/web_ui.py

    r4005 r4008  
    3333        template = Chrome(self.env).load_template('piwik_analytics.html')
    3434        data = template.generate(
    35             admin= 'TRAC_ADMIN' in req.perm,
     35            admin='TRAC_ADMIN' in req.perm,
    3636            opt=options,
    3737            base_url='http:\/\/%s' % req.environ.get('HTTP_HOST'))
Note: See TracChangeset for help on using the changeset viewer.