File tree 5 files changed +6
-5
lines changed 5 files changed +6
-5
lines changed Original file line number Diff line number Diff line change 1
- include README NEWS ChangeLog COPYING *.py tox.ini
1
+ include README.md NEWS ChangeLog COPYING *.py tox.ini
2
2
recursive-include tests *.doctest *.dat *.py
3
3
recursive-include docs *.rst *.py
4
4
recursive-include online_check *
File renamed without changes.
Original file line number Diff line number Diff line change 1
1
.. module :: stdnum
2
2
3
- .. include :: ../README
3
+ .. include :: ../README.md
4
4
:end-before: Available formats
5
5
6
6
Original file line number Diff line number Diff line change 36
36
37
37
base_dir = os .path .dirname (__file__ )
38
38
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 :
40
40
long_description = fp .read ().decode ('utf-8' )
41
41
42
42
setup (
43
43
name = 'python-stdnum' ,
44
44
version = stdnum .__version__ ,
45
45
description = 'Python module to handle standardized numbers and codes' ,
46
46
long_description = long_description ,
47
+ long_description_content_type = 'text/markdown' ,
47
48
author = 'Arthur de Jong' ,
48
49
author_email = 'arthur@arthurdejong.org' ,
49
50
url = 'https://arthurdejong.org/python-stdnum/' ,
Original file line number Diff line number Diff line change 20
20
# 02110-1301 USA
21
21
22
22
"""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."""
24
24
25
25
import os .path
26
26
import sys
@@ -47,7 +47,7 @@ def get_number_modules():
47
47
48
48
49
49
if __name__ == '__main__' :
50
- print ('For README:' )
50
+ print ('For README.md :' )
51
51
print ('' )
52
52
for module in get_number_modules ():
53
53
print (' * %s' % util .get_module_name (module ))
You can’t perform that action at this time.
0 commit comments