Skip to content

Commit aea87b0

Browse files
committed
Rename README so it will be displayed properly formatted.
1 parent 3c10088 commit aea87b0

File tree

6 files changed

+5
-5
lines changed

6 files changed

+5
-5
lines changed

MANIFEST.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
include LICENSE
22
include MANIFEST.in
3-
include README
3+
include README.rst
44
include pytest_localserver/server.*
55
include pytest_localserver/ca.*
66
recursive-include tests *.py

README renamed to README.rst

File renamed without changes.

pytest_localserver/http.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ def serve_content(self, content, code=200, headers=None):
121121
path = sys.argv[1]
122122
except IndexError:
123123
path = os.path.join(
124-
os.path.dirname(os.path.abspath(__file__)), '..', 'README')
124+
os.path.dirname(os.path.abspath(__file__)), '..', 'README.rst')
125125

126126
app.serve_content(open(path).read(), 302)
127127

pytest_localserver/https.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ def __init__(self, host='localhost', port=0,
121121
path = sys.argv[1]
122122
except IndexError:
123123
path = os.path.join(
124-
os.path.dirname(os.path.abspath(__file__)), '..', 'README')
124+
os.path.dirname(os.path.abspath(__file__)), '..', 'README.rst')
125125

126126
server.serve_content(open(path).read(), 302)
127127

setup.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11

22
[metadata]
3-
description-file = README
3+
description-file = README.rst

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ def run(self):
3737
maintainer_email='[email protected]',
3838
license='MIT License',
3939
description='py.test plugin to test server connections locally.',
40-
long_description=read('README'),
40+
long_description=read('README.rst'),
4141
url='https://github.com/pytest-dev/pytest-localserver',
4242

4343
packages=['pytest_localserver'],

0 commit comments

Comments
 (0)