Skip to content

Commit f993e52

Browse files
committed
Cleanup setup.py
1 parent 213da4b commit f993e52

1 file changed

Lines changed: 1 addition & 14 deletions

File tree

setup.py

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,4 @@
1-
import io
2-
import os
3-
import re
4-
5-
from setuptools import find_packages
61
from setuptools import setup
72

83

9-
def read(filename):
10-
filename = os.path.join(os.path.dirname(__file__), filename)
11-
text_type = type("")
12-
with io.open(filename, mode="r", encoding="utf-8") as fd:
13-
return re.sub(text_type(r":[a-z]+:`~?(.*?)`"), text_type(r"``\1``"), fd.read())
14-
15-
16-
if __name__ == "__main__":
17-
setup()
4+
setup()

0 commit comments

Comments
 (0)