-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Version discovery from git not working in tests #316
Comments
Hi @sannant - can you check whether this is still the case in master. Version discovery now explicitly checks for those directories to exist. |
I saw changes in Discoverversion that address this. However I have issues testing this because I have errors when building with meson.
|
Hi @sannant - place your venv outside the source folder and this works. The c-extension module is including numpy's headers. If you have a venv in the source directory those headers are in the source directory and Meson does not like this. |
PS: I am planning to move to the whole codebase to |
Not sure this is relevant once SurfaceTopography is installed properly in devel version, but the following line will raise an error if the tests are run in the test subdirectory.
I think a better option would be to call git and check that the package name is SurfaceTopography
SurfaceTopography/SurfaceTopography/DiscoverVersion.py
Line 37 in 6808a71
The text was updated successfully, but these errors were encountered: