Skip to content

Commit

Permalink
Merge pull request #84 from evhub/develop
Browse files Browse the repository at this point in the history
Update to v0.4.1
  • Loading branch information
evhub committed Apr 12, 2016
2 parents de882dd + 0061133 commit 1e7a646
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
2 changes: 1 addition & 1 deletion coconut/root.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
# CONSTANTS:
#-----------------------------------------------------------------------------------------------------------------------

VERSION = "0.4.0"
VERSION = "0.4.1"
VERSION_NAME = "Pinnate"
DEVELOP = False

Expand Down
12 changes: 11 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,17 @@
#-----------------------------------------------------------------------------------------------------------------------

with open("README.rst", "r") as opened:
readme = opened.read()
readme_raw = opened.read()
readme_lines = []
in_toc = False
for line in readme_raw.splitlines():
if in_toc and line and not line.startswith(" "):
in_toc = False
elif line == ".. toctree::":
in_toc = True
if not in_toc:
readme_lines.append(line)
readme = "\n".join(readme_lines)

setuptools.setup(
name = "coconut",
Expand Down

0 comments on commit 1e7a646

Please sign in to comment.