Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a quick-and-dirty regex to remove Sphinx calls that the sdist builder doesn't understand. Fix #143. #144

Merged
merged 1 commit into from May 24, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
6 changes: 4 additions & 2 deletions setup.py
Expand Up @@ -4,6 +4,7 @@
import multiprocessing
except ImportError:
pass
from re import sub

from setuptools import setup, find_packages

Expand All @@ -13,8 +14,9 @@
version='3.1.0',
description='More routines for operating on iterables, beyond itertools',
long_description=open('README.rst').read() + '\n\n' +
'\n'.join(open('docs/versions.rst').read()
.splitlines()[1:]),
sub(r':func:`([a-zA-Z0-9_]+)`', r'\1', '\n'.join(open('docs/versions.rst').read()
.splitlines()[1:])
.replace('.. automodule:: more_itertools', '')),
author='Erik Rose',
author_email='erikrose@grinchcentral.com',
license='MIT',
Expand Down