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 setup.py
View
3 setup.py
@@ -1,7 +1,8 @@
from setuptools import setup
import os, sys
-long_description = open('python/README.md').read()
+if os.path.isdir('python'): long_description = open('python/README.md').read()
+else: long_description = open('README.md').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.