source: Serveur/trac/TracPiwik/setup.py @ 3995

Last change on this file since 3995 was 3995, checked in by kent1, 9 years ago
File size: 1.4 KB
Line 
1#!/usr/bin/env python
2# -*- coding: utf-8 -*-
3# vim: sw=4 ts=4 fenc=utf-8 et
4# ==============================================================================
5# Copyright © 2010 kent1 <kent1@arscenic.org>
6#
7# Please view LICENSE for additional licensing information.
8# ==============================================================================
9
10import re
11from setuptools import setup
12import tracext.piwik as tp
13
14setup(
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',
24                              open('README.txt').read()),
25    packages = ['tracext', 'tracext.piwik'],
26    namespace_packages = ['tracext', 'tracext.piwik'],
27    package_data = {'tracext.piwik': ['templates/*.html',
28                                                 'htdocs/*.css']},
29    include_package_data = True,
30    install_requires = ['Trac>=0.11'],
31    keywords = "trac plugin piwik",
32    entry_points = """
33    [trac.plugins]
34      tracext.piwik = tracext.piwik
35      tracext.piwik.admin = tracext.piwik.admin
36      tracext.piwik.web_ui = tracext.piwik.web_ui
37    """,
38    classifiers = ['Framework :: Trac']
39)
Note: See TracBrowser for help on using the repository browser.