Skip to content

Commit

Permalink
chore: prepare logo for pypi
Browse files Browse the repository at this point in the history
  • Loading branch information
ilfa committed Aug 12, 2022
1 parent 5cd84fa commit e2f2fe1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
"""

import pathlib
import re

from setuptools import setup, find_packages # noqa: H301

Expand All @@ -33,6 +34,7 @@

here = pathlib.Path(__file__).parent.resolve()
long_description = (here / 'README.md').read_text(encoding='utf-8')
long_description = re.sub("<source[^>]*>\n", '', long_description.replace("<picture>\n", "").replace("</picture>\n", ""))

setup(
name=NAME,
Expand Down
2 changes: 2 additions & 0 deletions template/setup.mustache
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
{{>partial_header}}

import pathlib
import re

from setuptools import setup, find_packages # noqa: H301

Expand Down Expand Up @@ -34,6 +35,7 @@ REQUIRES.append("tornado")

here = pathlib.Path(__file__).parent.resolve()
long_description = (here / 'README.md').read_text(encoding='utf-8')
long_description = re.sub("<source[^>]*>\n", '', long_description.replace("<picture>\n", "").replace("</picture>\n", ""))

setup(
name=NAME,
Expand Down

0 comments on commit e2f2fe1

Please sign in to comment.