fixed setup.py bdist_rpm

This commit is contained in:
Ales Zoulek 2010-09-21 10:15:52 +02:00
parent e76458d49e
commit 14ed525f29

View file

@ -2,9 +2,12 @@ import os
from setuptools import setup, find_packages
f = open(os.path.join(os.path.dirname(__file__), 'README.rst'))
long_description = f.read().strip()
f.close()
try:
f = open(os.path.join(os.path.dirname(__file__), 'README.rst'))
long_description = f.read().strip()
f.close()
except IOError
long_description = None
setup(
name='django-constance',