-
-
Notifications
You must be signed in to change notification settings - Fork 186
Closed
Description
If I have a project structure like this:
project\.git
project\foo\setup.py
project\foo\requirementx.txt
...
in other words, putup foo is run inside the git folder so the python project is one folder down, then python setup.py --version fails with:
LookupError: setuptools-scm was unable to detect version for '/path/to/foo'.
If I copy all the contents of foo/ to the root, it works.
With pyscaffold 3, this used to work out of the box. Is there a way to get it working with v4?
In setup.py, I tried changing the setup call to:
setup(use_scm_version={"version_scheme": "no-guess-dev", "root": ".."})
This isn't working either.
Versions and main components
- PyScaffold Version: 4
- Python Version: 3.7
- Operating system: Linux / Mac
- How did you install PyScaffold: (conda/pip) pip
Metadata
Metadata
Assignees
Labels
No labels