Skip to content

Commit

Permalink
Change README.md to README.rst
Browse files Browse the repository at this point in the history
  • Loading branch information
fquinto committed Aug 5, 2022
1 parent 177d1f0 commit 7560b47
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# Things to include in the built package (besides the packages defined in setup.py)
include README.md
include README.rst
include LICENSE
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ Homepage = "https://github.com/fquinto/pywibeee"

[tool.setuptools.dynamic]
version = {attr = "pywibeee.__version__"}
readme = {file = ["README.md"]}
readme = {file = ["README.rst"]}

[project.scripts]
pywibeee = "pywibeee.main:main"
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# https://wheel.readthedocs.io/en/stable/user_guide.html#including-license-files-in-the-generated-wheel-file
license_files = LICENSE
description = Command line interface (CLI) for WiBeee (old Mirubee) meter
description_file = README.md
description_file = README.rst
description-content-type = text/markdown
name = pywibeee
version = attr: pywibeee.__version__
Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
EXCLUDE_FROM_PACKAGES = ["contrib", "docs", "tests*"]
CURDIR = os.path.abspath(os.path.dirname(__file__))

with io.open(os.path.join(CURDIR, "README.md"), "r", encoding="utf-8") as f:
with io.open(os.path.join(CURDIR, "README.rst"), "r", encoding="utf-8") as f:
long_description = f.read()
long_description += "\n\n"

Expand All @@ -33,7 +33,7 @@ def get_long_description():
Return the README and CHANGELOG.md.
"""
long_description = ""
with open("README.md", encoding="utf8") as f:
with open("README.rst", encoding="utf8") as f:
long_description += f.read()
# long_description += "\n\n"
# with open(os.path.join(CURDIR, "CHANGELOG.md"), encoding="utf8") as f:
Expand Down

0 comments on commit 7560b47

Please sign in to comment.