Skip to content

Commit

Permalink
Move code to variable
Browse files Browse the repository at this point in the history
  • Loading branch information
uvchik committed Apr 27, 2020
1 parent a0b4e6d commit f9af523
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,18 +23,20 @@ def read(*names, **kwargs):
return fh.read()


long_description = "%s\n%s" % (
re.compile("^.. start-badges.*^.. end-badges", re.M | re.S).sub(
"", read("README.rst")
),
re.sub(":[a-z]+:`~?(.*?)`", r"``\1``", read("CHANGELOG.rst")),
)


setup(
name="oemof.network",
version="0.4.0rc0",
license="MIT",
description="The network/graph submodules of oemof.",
long_description="%s\n%s"
% (
re.compile("^.. start-badges.*^.. end-badges", re.M | re.S).sub(
"", read("README.rst")
),
re.sub(":[a-z]+:`~?(.*?)`", r"``\1``", read("CHANGELOG.rst")),
),
long_description=long_description,
long_description_content_type="text/x-rst",
author="oemof developer group",
author_email="[email protected]",
Expand Down

0 comments on commit f9af523

Please sign in to comment.