kopia lustrzana https://github.com/longclawshop/longclaw
py2 compatibility
rodzic
aa4fa84a3e
commit
7cae5a859d
2
setup.py
2
setup.py
|
@ -44,7 +44,7 @@ if sys.argv[-1] == 'tag':
|
||||||
try:
|
try:
|
||||||
readme = open('README.rst').read()
|
readme = open('README.rst').read()
|
||||||
history = open('CHANGELOG.rst').read().replace('.. :changelog:', '')
|
history = open('CHANGELOG.rst').read().replace('.. :changelog:', '')
|
||||||
except FileNotFoundError:
|
except IOError:
|
||||||
# Protects against running python from a different dir to setup.py,
|
# Protects against running python from a different dir to setup.py,
|
||||||
# e.g. on travis
|
# e.g. on travis
|
||||||
readme = ''
|
readme = ''
|
||||||
|
|
Ładowanie…
Reference in New Issue