-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
trying the instill version into conda
- Loading branch information
1 parent
3f49879
commit ace56a8
Showing
6 changed files
with
40 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,8 +6,11 @@ __pycache__ | |
.idea | ||
output/Thumbs.db | ||
*.egg-info | ||
*.egg | ||
|
||
# build | ||
dist/ | ||
build/ | ||
|
||
src/geocover_qa/_version.py | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
include src/geocover_qa/data/*.gpkg | ||
include src/geocover_qa/data/*.json | ||
include src/geocover_qa/data/*.json | ||
inlcude src/geocover_qa/_version.py |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
#!/usr/bin/env python | ||
|
||
from setuptools_scm import get_version | ||
import os | ||
|
||
def get_project_version(setup_py_path): | ||
# Change the current working directory to the directory of setup.py | ||
setup_dir = os.path.dirname(setup_py_path) | ||
os.chdir(setup_dir) | ||
|
||
# Get the version using setuptools_scm | ||
version = get_version() | ||
|
||
return version | ||
|
||
if __name__ == '__main__': | ||
setup_py_path = './setup.py' # Adjust the path to your setup.py file | ||
version = get_project_version(setup_py_path) | ||
print(version) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters