Skip to content

Commit

Permalink
Merge pull request #64 from zodb/rst-files
Browse files Browse the repository at this point in the history
Rename main .txt files to .rst for better rendering on github.
  • Loading branch information
jamadden committed Jun 21, 2016
2 parents 05acab2 + 0118517 commit c0dbc38
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 6 deletions.
File renamed without changes.
2 changes: 1 addition & 1 deletion MANIFEST.in
@@ -1,2 +1,2 @@
include MANIFEST.in *.txt *.py *.patch
include MANIFEST.in *.txt *.rst *.py *.patch
recursive-include relstorage *.py *.xml *.txt
File renamed without changes.
9 changes: 6 additions & 3 deletions relstorage/options.py
Expand Up @@ -21,10 +21,13 @@
from relstorage._compat import iteritems
default_strict_tpc = False

from ZEO.zrpc.connection import Connection as __Connection
if __Connection.current_protocol >= b'Z310':
try:
from ZEO.zrpc.connection import Connection as __Connection # XXX Goes away in ZEO5
if __Connection.current_protocol >= b'Z310':
default_strict_tpc = True
del __Connection
except ImportError:
default_strict_tpc = True
del __Connection

class Options(object):
"""Options for configuring and tuning RelStorage.
Expand Down
4 changes: 2 additions & 2 deletions setup.py
Expand Up @@ -70,10 +70,10 @@ def read_file(*path):
description=doclines[0],
classifiers=filter(None, classifiers.split("\n")),
long_description=(
read_file("README.txt") + "\n\n" +
read_file("README.rst") + "\n\n" +
"Change History\n" +
"==============\n\n" +
read_file("CHANGES.txt")),
read_file("CHANGES.rst")),
zip_safe=False, # otherwise ZConfig can't see component.xml
install_requires=[
'perfmetrics',
Expand Down

0 comments on commit c0dbc38

Please sign in to comment.