8000 Rename README to README.md · cedk/python-stdnum@3406c24 · GitHub
[go: up one dir, main page]

Skip to content

Commit 3406c24

Browse files
committed
Rename README to README.md
Mostly to please GitHub. See arthurdejong#280
1 parent d5cba0a commit 3406c24

File tree

5 files changed

+6
-5
lines changed

5 files changed

+6
-5
lines changed

MANIFEST.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
include README NEWS ChangeLog COPYING *.py tox.ini
1+
include README.md NEWS ChangeLog COPYING *.py tox.ini
22
recursive-include tests *.doctest *.dat *.py
33
recursive-include docs *.rst *.py
44
recursive-include online_check *

README renamed to README.md

File renamed without changes.

docs/index.rst

Copy file name to clipboard
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
.. module:: stdnum
22

3-
.. include:: ../README
3+
.. include:: ../README.md
44
:end-before: Available formats
55

66

setup.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,14 +36,15 @@
3636

3737
base_dir = os.path.dirname(__file__)
3838

39-
with open(os.path.join(base_dir, 'README'), 'rb') as fp:
39+
with open(os.path.join(base_dir, 'README.md'), 'rb') as fp:
4040
long_description = fp.read().decode('utf-8')
4141

4242
setup(
4343
name='python-stdnum',
4444
version=stdnum.__version__,
4545
description='Python module to handle standardized numbers and codes',
4646
long_description=long_description,
47+
long_description_content_type='text/markdown',
4748
author='Arthur de Jong',
4849
author_email='arthur@arthurdejong.org',
4950
url='https://arthurdejong.org/python-stdnum/',

update/numlist.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
# 02110-1301 USA
2121

2222
"""This script uses introspection to present a list of number formats
23-
suitable to be included in the README and stdnum package description."""
23+
suitable to be included in the README.md and stdnum package description."""
2424

2525
import os.path
2626
import sys
@@ -47,7 +47,7 @@ def get_number_modules():
4747

4848

4949
if __name__ == '__main__':
50-
print('For README:')
50+
print('For README.md:')
5151
print('')
5252
for module in get_number_modules():
5353
print(' * %s' % util.get_module_name(module))

0 commit comments

Comments
 (0)
0