We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9a00b05 commit bff4ba6Copy full SHA for bff4ba6
setup.py
@@ -3,12 +3,6 @@
3
4
from setuptools import setup, find_packages
5
6
-lines = Path(__file__).parent.joinpath("sphinx_copybutton", "__init__.py").read_text()
7
-for line in lines.split('\n'):
8
- if line.startswith("__version__"):
9
- break
10
-version = line.split(" = ")[-1].strip('"')
11
-
12
if (os.path.isdir('clipboard.js') and
13
not os.path.islink('sphinx_copybutton/_static/clipboard.min.js')):
14
raise SystemExit("Error: Support for symbolic links is required")
0 commit comments