Skip to content
Browse files

fix readme importer

  • Loading branch information...
1 parent df5f8de commit c93d75bd0188a0a7c2ded5a3af200d37ca204700 @crazedpsyc crazedpsyc committed Jan 6, 2013
Showing with 2 additions and 1 deletion.
  1. +2 −1
@@ -1,7 +1,8 @@
from setuptools import setup
import os, sys
-long_description = open('python/').read()
+if os.path.isdir('python'): long_description = open('python/').read()
+else: long_description = open('').read()
version = os.getenv('V')
if not version and ('bdist' in sys.argv or 'sdist' in sys.argv): raise ValueError('You must set the environmental variable $V (the version number) to release.')

0 comments on commit c93d75b

Please sign in to comment.
Something went wrong with that request. Please try again.