-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed docker build for the local package , Upgraded image to use pyth…
…on 3.11
- Loading branch information
1 parent
6a82098
commit 453e799
Showing
3 changed files
with
36 additions
and
36 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
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,56 +1,45 @@ | ||
[build-system] | ||
requires = ["setuptools>=61.0.0", "wheel"] | ||
requires = ["setuptools >= 61.0.0"] | ||
build-backend = "setuptools.build_meta" | ||
|
||
[project] | ||
name = "raw-data-api" | ||
version = "1.0.17" | ||
description = "Set of high-performant APIs for transforming and exporting OpenStreetMap (OSM) data in different GIS file formats." | ||
readme = "README.md" | ||
authors = [{ name = "Hot Tech Team", email = "[email protected]" }] | ||
authors = [ | ||
{ name = "Hot Tech Team", email = "[email protected]" } | ||
] | ||
license = { file = "LICENSE" } | ||
classifiers = [ | ||
"Programming Language :: Python :: 3", | ||
] | ||
keywords = [ | ||
"OSM", "rawdataapi", | ||
] | ||
dependencies = [ | ||
"pytest==7.4.3", | ||
"psycopg2", | ||
"boto3==1.24.38", | ||
"fastapi==0.105.0", | ||
"geojson==3.1.0", | ||
"area==1.1.1", | ||
"orjson==3.9.10", | ||
"slowapi==0.1.8", | ||
] | ||
requires-python = ">=3.8" | ||
|
||
[project.optional-dependencies] | ||
build = ["build", "twine"] | ||
dev = ["black", "bumpver", "isort"] | ||
[project.optional-dependencies] | ||
dev = ["black", "bumpver", "isort"] | ||
|
||
[project.urls] | ||
repository = "https://github.com/hotosm/fAIr-utilities" | ||
[project.urls] | ||
repository = "https://github.com/hotosm/raw-data-api" | ||
|
||
[tool.bumpver] | ||
current_version = "1.0.51" | ||
version_pattern = "MAJOR.MINOR.PATCH" | ||
commit_message = "bump version {old_version} -> {new_version}" | ||
commit = true | ||
tag = true | ||
push = false | ||
|
||
[tool.bumpver.file_patterns] | ||
"pyproject.toml" = [ | ||
'current_version = "{version}"', | ||
'version = "{version}"', | ||
] | ||
current_version = "1.0.17" | ||
commit_message = "bump version {old_version} -> {new_version}" | ||
commit = true | ||
tag = true | ||
push = false | ||
|
||
[tool.bumpver.file_patterns] | ||
"pyproject.toml" = [ | ||
'current_version = "{version}"', | ||
'version = "{version}"', | ||
] | ||
|
||
[tool.isort] | ||
profile = "black" | ||
import_heading_stdlib = "Standard library imports" | ||
profile = "black" | ||
import_heading_stdlib = "Standard library imports" | ||
import_heading_thirdparty = "Third party imports" | ||
import_heading_firstparty = "Reader imports" | ||
|
||
|
@@ -60,3 +49,8 @@ tag_format = "$version" | |
version_scheme = "semver" | ||
version_provider = "pep621" | ||
update_changelog_on_bump = true | ||
|
||
|
||
[tool.setuptools] | ||
packages = { find = { where = ["src","API"]} } | ||
|
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,3 +1,4 @@ | ||
# Third party imports | ||
from setuptools import setup | ||
|
||
setup() |