Skip to content

Conversation

minff
Copy link
Contributor

@minff minff commented Aug 18, 2021

With current setup.py, pip install would still install "tests" package at the same level as xyzspaces package. Added wildcard pattern to exclude it

@minff minff requested a review from sackh August 18, 2021 13:34
@sackh
Copy link
Contributor

sackh commented Aug 18, 2021

Thanks @minff, also you will have to remove below line

include tests/hub/* tests/project/* tests/token/*

Copy link
Contributor

@sackh sackh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please remove below line as well.

include tests/hub/* tests/project/* tests/token/*

@deeplook
Copy link
Contributor

I think that was on purpose for xyzspaces when I wrote it at the beginning, so people could also run the tests easily without the need to clone the whole repo. At least I think that was the reason. But if that's an issue with including it in the QGis-Plugin feel free to remove them...

@minff
Copy link
Contributor Author

minff commented Aug 18, 2021

@deeplook , it is not really an issues with the QGIS plugin, but I find it strange when there is a tests package after pip install. If we want to include tests with the published package we could include it as submodule xyzspaces.tests imo.

Signed-off-by: minff <16268924+minff@users.noreply.github.com>
@sackh sackh merged commit c369f12 into master Aug 20, 2021
@sackh sackh deleted the patch-setup branch August 25, 2021 05:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants