diff --git a/doc/conf.py b/doc/conf.py index 0ff1c1bf..4932aca9 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -24,8 +24,7 @@ # from scadnano.scadnano_version import current_version # this is ugly, but appears to be standard practice: # https://stackoverflow.com/questions/17583443/what-is-the-correct-way-to-share-package-version-with-setup-py-and-the-package/17626524#17626524 -# __version__ = open("scadnano/_version.py").readlines()[-1].split()[-1].strip("\"'") - +# __version__ = open("../scadnano/_version.py").readlines()[-1].split()[-1].strip("\"'") # this is ugly, but appears to be standard practice: # https://stackoverflow.com/questions/17583443/what-is-the-correct-way-to-share-package-version-with-setup-py-and-the-package/17626524#17626524 @@ -46,7 +45,6 @@ def extract_version(filename: str): __version__ = extract_version('../scadnano/scadnano.py') - # Type "make html" at the command line to generate the documentation.