Skip to content

Commit

Permalink
Fix setup.py
Browse files Browse the repository at this point in the history
  • Loading branch information
alfred82santa committed Apr 16, 2020
1 parent 4233faf commit d265244
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions setup.py
Expand Up @@ -40,9 +40,9 @@
with open(os.path.join(os.path.dirname(__file__), 'README.rst')) as desc_file:
long_desc = desc_file.read()

invalid_roles = ['meth', 'class']
invalid_roles = ['meth', 'class', 'attr']

long_desc = re.sub(r':({}):`([^`]+)`'.format('|'.join(invalid_roles)), r'``\2``', long_desc, re.M)
long_desc = re.sub(r':(?:{}):`([^`]+)`'.format('|'.join(invalid_roles)), r'`\1`', long_desc)

setup(
name='dirty-models',
Expand Down

0 comments on commit d265244

Please sign in to comment.