changeset 10:dd59ca504ddf

add a simple setup file
author sheep@ghostwheel
date Mon, 03 Aug 2009 00:52:36 +0200
parents e13b08d52aa6
children 4ba4d465daee
files creole.py setup.py
diffstat 2 files changed, 38 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/creole.py	Wed Apr 29 20:54:19 2009 +0200
+++ b/creole.py	Mon Aug 03 00:52:36 2009 +0200
@@ -24,6 +24,9 @@
 
 import re
 
+__version__ = '1.0'
+
+
 # Whether the parser should convert \n into <br>.
 bloglike_lines = False
 
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/setup.py	Mon Aug 03 00:52:36 2009 +0200
@@ -0,0 +1,35 @@
+#!/usr/bin/python
+# -*- coding: utf-8 -*-
+
+from distutils.core import setup
+import creole
+
+config = dict(
+    name='creole',
+    version=creole.__version__,
+    url='http://oink.sheep.art.pl/WikiCreole%20parser%20in%20python',
+    download_url='http://sheep.art.pl/devel/creole/archive/tip.zip',
+    license='GNU General Public License (GPL)',
+    author='Radomir Dopieralski, Thomas Waldmann',
+    author_email='creole@sheep.art.pl',
+    description='Parser for WikiCreole text markup.',
+    long_description=creole.__doc__,
+    keywords='wiki wikicreole creole markup text',
+    py_modules=['creole'],
+    data_files=[
+        ('share/doc/creole.py/examples', ['creole2html.py']),
+        ('share/doc/creole.py/tests', ['test.py']),
+    ],
+    platforms='any',
+    classifiers=[
+        'License :: OSI Approved :: GNU General Public License (GPL)',
+        'Intended Audience :: Developers',
+        'Topic :: Communications',
+        'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
+        'Programming Language :: Python',
+        'Operating System :: OS Independent',
+    ],
+)
+
+setup(**config)
+