Browse files

Load README into pypi data.

  • Loading branch information...
1 parent d5a77a4 commit 6a071bf2ad710b06756f51bcd52b662e553708f9 @ralphbean ralphbean committed Jun 20, 2012
Showing with 13 additions and 0 deletions.
  1. +1 −0 MANIFEST.in
  2. +12 −0 setup.py
View
1 MANIFEST.in
@@ -0,0 +1 @@
+include README.rst
View
12 setup.py
@@ -4,6 +4,17 @@
import os, sys
+
+def load_description():
+ try:
+ f = open('README.rst', 'r')
+ description = f.read()
+ f.close()
+ return description
+ except:
+ return ""
+
+
class OpensslBuilder(build_ext.build_ext):
"""
Specialization of build_ext to enable swig_opts to inherit any
@@ -49,6 +60,7 @@ def finalize_options(self):
name='m2ext',
version='0.1',
description='M2Crypto Extensions',
+ long_description=load_description(),
author='Lev Shamardin',
author_email='shamardin@gmail.com',
license='BSD',

0 comments on commit 6a071bf

Please sign in to comment.