mirror of
https://github.com/jazzband/django-constance.git
synced 2026-04-21 15:34:44 +00:00
fixed setup.py bdist_rpm
This commit is contained in:
parent
e76458d49e
commit
14ed525f29
1 changed files with 6 additions and 3 deletions
9
setup.py
9
setup.py
|
|
@ -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',
|
||||
|
|
|
|||
Loading…
Reference in a new issue