summaryrefslogtreecommitdiffstats
path: root/user_guide_src/cilexer/setup.py
diff options
context:
space:
mode:
authorEric Barnes <eric@ericlbarnes.com>2011-11-27 06:30:22 +0100
committerEric Barnes <eric@ericlbarnes.com>2011-11-27 06:30:22 +0100
commit7e66dda705743cbfe1d522ddb73e5694006ec42c (patch)
treec08b63deb28c09ec49d9173280f1ca234debfe50 /user_guide_src/cilexer/setup.py
parent7eceb03f083643254c7393c6b5ebe539e344a1ba (diff)
parente101593561a10632c1d63180436b19f1d7115046 (diff)
Merge branch 'refs/heads/develop' into feature/unit-tests
Conflicts: user_guide/helpers/number_helper.html
Diffstat (limited to 'user_guide_src/cilexer/setup.py')
-rw-r--r--user_guide_src/cilexer/setup.py23
1 files changed, 23 insertions, 0 deletions
diff --git a/user_guide_src/cilexer/setup.py b/user_guide_src/cilexer/setup.py
new file mode 100644
index 000000000..db4bbea43
--- /dev/null
+++ b/user_guide_src/cilexer/setup.py
@@ -0,0 +1,23 @@
+"""
+Install and setup CodeIgniter highlighting for Pygments.
+"""
+
+from setuptools import setup
+
+entry_points = """
+[pygments.lexers]
+cilexer = cilexer.cilexer:CodeIgniterLexer
+"""
+
+setup(
+ name='pycilexer',
+ version='0.1',
+ description=__doc__,
+ author="EllisLab, Inc.",
+ packages=['cilexer'],
+ install_requires=(
+ 'sphinx >= 1.0.7',
+ 'sphinxcontrib-phpdomain >= 0.1.3-1'
+ ),
+ entry_points=entry_points
+)