-
Notifications
You must be signed in to change notification settings - Fork 3
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
linking requirements.txt in .pyproject.toml #9
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
2.0.7 | ||
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,6 @@ build-backend = "setuptools.build_meta" | |
|
||
[project] | ||
name = "geo-inference" | ||
version = "2.0.7" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This was updated automatically using bumpver, There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yes it is still but it is now managed through a centralized VERSION file, however we could potentially argue on the plus-value of that centralized file since the version number is still present in other locations.
|
||
description = "Extract features from geospatial imagery using deep learning models" | ||
readme = "README.md" | ||
authors = [{ name = "Victor Alhassan", email = "[email protected]" }] | ||
|
@@ -18,19 +17,13 @@ classifiers = [ | |
"Topic :: Scientific/Engineering :: GIS", | ||
] | ||
keywords = ["pytorch", "deep learning", "machine learning", "remote sensing", "satellite imagery", "earth observation", "geospatial"] | ||
dependencies = [ | ||
"torchgeo>=0.3", | ||
"affine>=2.3.0", | ||
"colorlog==6.7.0", | ||
"scipy>=1.11.2", | ||
"pyyaml>=5.2", | ||
"requests>=2.22.0", | ||
"pynvml>=11.0", | ||
"geopandas>=0.10.2" | ||
] | ||
|
||
dynamic = ["dependencies","version",] | ||
requires-python = ">=3.9" | ||
|
||
[tool.setuptools.dynamic] | ||
dependencies = {file = ["requirements.txt"]} | ||
version = {file = ["VERSION"]} | ||
|
||
[project.optional-dependencies] | ||
dev = ["black", "bumpver", "isort", "pip-tools", "pytest"] | ||
|
||
|
@@ -52,8 +45,7 @@ tag = true | |
push = false | ||
|
||
[tool.bumpver.file_patterns] | ||
"VERSION" = ["{version}"] | ||
"pyproject.toml" = [ | ||
'^version = "{version}"', | ||
'^current_version = "{version}"',] | ||
"geo_inference/__init__.py" = ["{version}"] | ||
|
||
"geo_inference/__init__.py" = ["{version}"] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
are you using a different tool to create the VERSION file?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I added the new VERSON file in the lists of file managed by bumpver