From 905980d527a122f5edaa25e3f1b57b4c003ec3b8 Mon Sep 17 00:00:00 2001 From: "J. Tanner Netterville" Date: Tue, 13 Nov 2012 15:37:35 -0600 Subject: [PATCH] updated readme and setup.py --- .gitignore | 1 + README.markdown | 14 +++++++++++++- setup.py | 4 ++-- 3 files changed, 16 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index d2a4fe6..1ae6ed9 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,5 @@ .DS_Store .idea +dist *.pyc *.egg-info diff --git a/README.markdown b/README.markdown index 34d9dbe..906bca1 100644 --- a/README.markdown +++ b/README.markdown @@ -2,8 +2,20 @@ Markdown extension to allow media embedding using the oEmbed standard. -# Links +## Installation + pip install python-markdown-oembed + +## Usage + + >>> import markdown + >>> md = markdown.Markdown(extensions=['oembed']) + >>> md.convert('![video](http://www.youtube.com/watch?v=zqnh_YJBvOI)') + u'' + +## Links + +- [python-markdown-oembed](https://github.com/rennat/python-markdown-oembed) - [Markdown](http://daringfireball.net/projects/markdown/) - [oEmbed](http://www.oembed.com/) - [python-oembed](https://github.com/abarmat/python-oembed) diff --git a/setup.py b/setup.py index a42df41..fb35b9a 100644 --- a/setup.py +++ b/setup.py @@ -6,7 +6,7 @@ except ImportError: from distutils.core import setup -VERSION = '0.0b' +VERSION = '0.1' setup( @@ -16,7 +16,7 @@ setup( long_description=open('README.markdown').read(), author='Tanner Netterville', author_email='tannern@gmail.com', - url='http://tannern.com', + url='https://github.com/rennat/python-markdown-oembed', license='MIT', classifiers=( "Development Status :: 4 - Beta",