1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
|
--- a/setup.py
+++ b/setup.py
@@ -3,21 +3,6 @@ from pathlib import Path
from setuptools import setup, find_packages
-if os.path.isdir("clipboard.js") and not os.path.islink(
- "sphinx_copybutton/_static/clipboard.min.js"
-):
- raise SystemExit("Error: Support for symbolic links is required")
-
-if os.path.isdir("clipboard.js") and not os.path.isfile(
- "clipboard.js/dist/clipboard.min.js"
-):
- raise SystemExit(
- """Error: clipboard.js submodule not available, run
-
- git submodule update --init
- """
- )
-
with open("./README.md") as ff:
readme_text = ff.read()
|