MDAnalysis / cookiecutter-mdakit

Cookiecutter for Python packages based on MDAnalysis
MIT License
7 stars 5 forks source link

Documentation configuration attempts to import a package that's not installed before updating the path #60

Closed ianmkenney closed 1 year ago

ianmkenney commented 1 year ago

https://github.com/MDAnalysis/cookiecutter-mdakit/blob/7c46b0e97fe15a994520ea55d2a1e31afad2f40f/%7B%7Bcookiecutter.repo_name%7D%7D/docs/source/conf.py#L9-L21

The import {{cookiecutter.repo_name}} should come after sys.path.insert(0, os.path.abspath('../..')).