From 9d754eeae7baf2deb848245ce9a41ffeb791b3b3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micka=C3=ABl=20Schoentgen?= Date: Tue, 25 Oct 2022 15:46:28 +0200 Subject: [PATCH] Revert "Include docstrings in cython code. Fixes API docs. (#76)" This reverts commit 698bad5e090a0bdbcaa5a5f352fd7774c9dfc436. --- setup.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/setup.py b/setup.py index 967ce43..076c6ea 100755 --- a/setup.py +++ b/setup.py @@ -32,10 +32,6 @@ *(glob.glob(os.path.join(MARISA_SOURCE_DIR, path)) for path in MARISA_FILES) ) -COMPILER_DIRECTIVES = { - 'embedsignature': True, -} - DESCRIPTION = __doc__ # TODO: Switch back to builtin `open(FILE, encoding="utf-8")` when dropping Python 2.7 support with open("README.rst", encoding="utf-8") as f1, open( @@ -102,7 +98,6 @@ "src/trie.cpp", ], include_dirs=[MARISA_INCLUDE_DIR], - compiler_directives=COMPILER_DIRECTIVES, ) ], python_requires=">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*",