diff --git a/config/config-package.py b/config/config-package.py index f05d0cc..17a73fd 100755 --- a/config/config-package.py +++ b/config/config-package.py @@ -633,13 +633,18 @@ def configure(self): '"fail-under" is 0. Please enter a valid minimum ' 'coverage and rerun.') abort(1) + to_add = [ + '.editorconfig', + '.github/workflows/tests.yml', + '.gitignore', + '.meta.toml', + 'setup.cfg', + 'tox.ini', + ] + if self.config_type != 'toolkit': + to_add.append('MANIFEST.in') if self.args.commit: - call( - 'git', 'add', - 'setup.cfg', 'tox.ini', '.gitignore', - '.github/workflows/tests.yml', 'MANIFEST.in', - '.editorconfig', - '.meta.toml') + call('git', 'add', *to_add) if self.args.commit_msg: commit_msg = self.args.commit_msg else: diff --git a/config/default/readthedocs.yaml.j2 b/config/default/readthedocs.yaml.j2 index 4f66f4c..eb6674b 100644 --- a/config/default/readthedocs.yaml.j2 +++ b/config/default/readthedocs.yaml.j2 @@ -19,5 +19,7 @@ sphinx: python: install: - requirements: docs/requirements.txt +{% if config_type != 'toolkit' %} - method: pip path: . +{% endif %}