Skip to content

Commit 7b1a844

Browse files
author
Stuart Bishop
committed
Fix remaining references to README.txt
1 parent f6fd618 commit 7b1a844

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ doc: docs
108108
docs: dist
109109
mkdir -p build/docs/source/.static
110110
mkdir -p build/docs/built
111-
cp src/README.txt build/docs/source/index.txt
111+
cp src/README.rst build/docs/source/index.txt
112112
cp conf.py build/docs/source/conf.py
113113
sphinx-build build/docs/source build/docs/built
114114
chmod -R og-w build/docs/built

src/pytz/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -263,8 +263,8 @@ def _UTC():
263263
module global.
264264
265265
These examples belong in the UTC class above, but it is obscured; or in
266-
the README.txt, but we are not depending on Python 2.4 so integrating
267-
the README.txt examples with the unit tests is not trivial.
266+
the README.rst, but we are not depending on Python 2.4 so integrating
267+
the README.rst examples with the unit tests is not trivial.
268268
269269
>>> import datetime, pickle
270270
>>> dt = datetime.datetime(2005, 3, 1, 14, 13, 21, tzinfo=utc)

src/pytz/tests/test_docs.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@
77

88
THIS_DIR = os.path.dirname(__file__)
99

10-
README = os.path.join(THIS_DIR, os.pardir, os.pardir, 'README.txt')
10+
README = os.path.join(THIS_DIR, os.pardir, os.pardir, 'README.rst')
1111

1212

1313
class DocumentationTestCase(unittest.TestCase):
1414
def test_readme_encoding(self):
15-
'''Confirm the README.txt is pure ASCII.'''
15+
'''Confirm the README.rst is ASCII.'''
1616
f = open(README, 'rb')
1717
try:
1818
f.read().decode('ASCII')
@@ -24,7 +24,7 @@ def test_suite():
2424
"For the Z3 test runner"
2525
return unittest.TestSuite((
2626
DocumentationTestCase('test_readme_encoding'),
27-
DocFileSuite(os.path.join(os.pardir, os.pardir, 'README.txt'))))
27+
DocFileSuite(os.path.join(os.pardir, os.pardir, 'README.rst'))))
2828

2929

3030
if __name__ == '__main__':

src/setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
version=pytz.VERSION,
3030
zip_safe=True,
3131
description='World timezone definitions, modern and historical',
32-
long_description=open('README.txt', 'r').read(),
32+
long_description=open('README.rst', 'r').read(),
3333
author=me,
3434
author_email=memail,
3535
maintainer=me,

0 commit comments

Comments
 (0)