Skip to content

Commit

Permalink
feat: add pyproject.toml for future migration and fix of pypi warning
Browse files Browse the repository at this point in the history
  • Loading branch information
danh91 committed Jan 1, 2025
1 parent c7fc8a0 commit 6e96e14
Show file tree
Hide file tree
Showing 115 changed files with 231 additions and 60 deletions.
2 changes: 1 addition & 1 deletion apps/api/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
version = v.read().strip()

setup(
name="karrio.server",
name="karrio_server",
version=version,
description="Multi-carrier shipping API",
long_description=long_description,
Expand Down
2 changes: 1 addition & 1 deletion ee/insiders
2 changes: 1 addition & 1 deletion ee/platform
3 changes: 3 additions & 0 deletions modules/connectors/allied_express/pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[build-system]
requires = ["setuptools>=64.0"]
build-backend = "setuptools.build_meta"
2 changes: 1 addition & 1 deletion modules/connectors/allied_express/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
long_description = fh.read()

setup(
name="karrio.allied_express",
name="karrio_allied_express",
version="2024.6",
description="Karrio - Allied Express Shipping Extension",
long_description=long_description,
Expand Down
3 changes: 3 additions & 0 deletions modules/connectors/allied_express_local/pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[build-system]
requires = ["setuptools>=64.0"]
build-backend = "setuptools.build_meta"
2 changes: 1 addition & 1 deletion modules/connectors/allied_express_local/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
long_description = fh.read()

setup(
name="karrio.allied_express_local",
name="karrio_allied_express_local",
version="2024.6",
description="Karrio - Allied Express Local Shipping Extension",
long_description=long_description,
Expand Down
3 changes: 3 additions & 0 deletions modules/connectors/amazon_shipping/pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[build-system]
requires = ["setuptools>=64.0"]
build-backend = "setuptools.build_meta"
2 changes: 1 addition & 1 deletion modules/connectors/amazon_shipping/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
long_description = fh.read()

setup(
name="karrio.amazon_shipping",
name="karrio_amazon_shipping",
version="2024.6",
description="Karrio - Amazon Shipping Extension",
long_description=long_description,
Expand Down
3 changes: 3 additions & 0 deletions modules/connectors/aramex/pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[build-system]
requires = ["setuptools>=64.0"]
build-backend = "setuptools.build_meta"
2 changes: 1 addition & 1 deletion modules/connectors/aramex/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
long_description = fh.read()

setup(
name="karrio.aramex",
name="karrio_aramex",
version="2023.9.2",
description="Karrio - Aramex Shipping extension",
long_description=long_description,
Expand Down
3 changes: 3 additions & 0 deletions modules/connectors/asendia_us/pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[build-system]
requires = ["setuptools>=64.0"]
build-backend = "setuptools.build_meta"
2 changes: 1 addition & 1 deletion modules/connectors/asendia_us/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
long_description = fh.read()

setup(
name="karrio.asendia_us",
name="karrio_asendia_us",
version="2024.6",
description="Karrio - Asendia US Shipping Extension",
long_description=long_description,
Expand Down
3 changes: 3 additions & 0 deletions modules/connectors/australiapost/pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[build-system]
requires = ["setuptools>=64.0"]
build-backend = "setuptools.build_meta"
2 changes: 1 addition & 1 deletion modules/connectors/australiapost/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
long_description = fh.read()

setup(
name="karrio.australiapost",
name="karrio_australiapost",
version="2024.6",
description="Karrio - Australia Post Shipping Extension",
long_description=long_description,
Expand Down
3 changes: 3 additions & 0 deletions modules/connectors/boxknight/pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[build-system]
requires = ["setuptools>=64.0"]
build-backend = "setuptools.build_meta"
2 changes: 1 addition & 1 deletion modules/connectors/boxknight/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
long_description = fh.read()

setup(
name="karrio.boxknight",
name="karrio_boxknight",
version="2024.6",
description="Karrio - BoxKnight Shipping Extension",
long_description=long_description,
Expand Down
3 changes: 3 additions & 0 deletions modules/connectors/bpost/pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[build-system]
requires = ["setuptools>=64.0"]
build-backend = "setuptools.build_meta"
2 changes: 1 addition & 1 deletion modules/connectors/bpost/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
long_description = fh.read()

setup(
name="karrio.bpost",
name="karrio_bpost",
version="2024.6",
description="Karrio - Belgian Post Shipping Extension",
long_description=long_description,
Expand Down
3 changes: 3 additions & 0 deletions modules/connectors/canadapost/pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[build-system]
requires = ["setuptools>=64.0"]
build-backend = "setuptools.build_meta"
2 changes: 1 addition & 1 deletion modules/connectors/canadapost/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
long_description = fh.read()

setup(
name="karrio.canadapost",
name="karrio_canadapost",
version="2024.6.7",
description="Karrio - Canada Post Shipping Extension",
long_description=long_description,
Expand Down
3 changes: 3 additions & 0 deletions modules/connectors/canpar/pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[build-system]
requires = ["setuptools>=64.0"]
build-backend = "setuptools.build_meta"
2 changes: 1 addition & 1 deletion modules/connectors/canpar/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
long_description = fh.read()

setup(
name="karrio.canpar",
name="karrio_canpar",
version="2024.6",
description="Karrio - Canpar Shipping Extension",
long_description=long_description,
Expand Down
3 changes: 3 additions & 0 deletions modules/connectors/chronopost/pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[build-system]
requires = ["setuptools>=64.0"]
build-backend = "setuptools.build_meta"
2 changes: 1 addition & 1 deletion modules/connectors/chronopost/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
long_description = fh.read()

setup(
name="karrio.chronopost",
name="karrio_chronopost",
version="2024.6",
description="Karrio - Chronopost Shipping Extension",
long_description=long_description,
Expand Down
3 changes: 3 additions & 0 deletions modules/connectors/colissimo/pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[build-system]
requires = ["setuptools>=64.0"]
build-backend = "setuptools.build_meta"
2 changes: 1 addition & 1 deletion modules/connectors/colissimo/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
long_description = fh.read()

setup(
name="karrio.colissimo",
name="karrio_colissimo",
version="2024.6",
description="Karrio - Colissimo Shipping Extension",
long_description=long_description,
Expand Down
3 changes: 3 additions & 0 deletions modules/connectors/dhl_express/pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[build-system]
requires = ["setuptools>=64.0"]
build-backend = "setuptools.build_meta"
2 changes: 1 addition & 1 deletion modules/connectors/dhl_express/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
long_description = fh.read()

setup(
name="karrio.dhl_express",
name="karrio_dhl_express",
version="2024.6",
description="Karrio - DHL Express Shipping Extension",
long_description=long_description,
Expand Down
3 changes: 3 additions & 0 deletions modules/connectors/dhl_parcel_de/pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[build-system]
requires = ["setuptools>=64.0"]
build-backend = "setuptools.build_meta"
2 changes: 1 addition & 1 deletion modules/connectors/dhl_parcel_de/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
long_description = fh.read()

setup(
name="karrio.dhl_parcel_de",
name="karrio_dhl_parcel_de",
version="2024.6",
description="Karrio - DHL Parcel DE Shipping Extension",
long_description=long_description,
Expand Down
3 changes: 3 additions & 0 deletions modules/connectors/dhl_poland/pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[build-system]
requires = ["setuptools>=64.0"]
build-backend = "setuptools.build_meta"
2 changes: 1 addition & 1 deletion modules/connectors/dhl_poland/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
long_description = fh.read()

setup(
name="karrio.dhl_poland",
name="karrio_dhl_poland",
version="2024.6",
description="Karrio - DHL Parcel Poland Shipping Extension",
long_description=long_description,
Expand Down
3 changes: 3 additions & 0 deletions modules/connectors/dhl_universal/pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[build-system]
requires = ["setuptools>=64.0"]
build-backend = "setuptools.build_meta"
2 changes: 1 addition & 1 deletion modules/connectors/dhl_universal/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
long_description = fh.read()

setup(
name="karrio.dhl_universal",
name="karrio_dhl_universal",
version="2024.6",
description="DHL Universal Tracking karrio extension",
long_description=long_description,
Expand Down
3 changes: 3 additions & 0 deletions modules/connectors/dicom/pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[build-system]
requires = ["setuptools>=64.0"]
build-backend = "setuptools.build_meta"
2 changes: 1 addition & 1 deletion modules/connectors/dicom/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
long_description = fh.read()

setup(
name="karrio.dicom",
name="karrio_dicom",
version="2023.9.2",
description="Karrio - Dicom Shipping extension",
long_description=long_description,
Expand Down
3 changes: 3 additions & 0 deletions modules/connectors/dpd/pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[build-system]
requires = ["setuptools>=64.0"]
build-backend = "setuptools.build_meta"
2 changes: 1 addition & 1 deletion modules/connectors/dpd/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
long_description = fh.read()

setup(
name="karrio.dpd",
name="karrio_dpd",
version="2024.6",
description="Karrio - DPD Shipping Extension",
long_description=long_description,
Expand Down
3 changes: 3 additions & 0 deletions modules/connectors/dpdhl/pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[build-system]
requires = ["setuptools>=64.0"]
build-backend = "setuptools.build_meta"
2 changes: 1 addition & 1 deletion modules/connectors/dpdhl/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
long_description = fh.read()

setup(
name="karrio.dpdhl",
name="karrio_dpdhl",
version="2024.6",
description="Karrio - Deutsche Post DHL Shipping extension",
long_description=long_description,
Expand Down
3 changes: 3 additions & 0 deletions modules/connectors/easypost/pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[build-system]
requires = ["setuptools>=64.0"]
build-backend = "setuptools.build_meta"
2 changes: 1 addition & 1 deletion modules/connectors/easypost/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
long_description = fh.read()

setup(
name="karrio.easypost",
name="karrio_easypost",
version="2024.6",
description="Karrio - EasyPost Shipping extension",
long_description=long_description,
Expand Down
3 changes: 3 additions & 0 deletions modules/connectors/easyship/pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[build-system]
requires = ["setuptools>=64.0"]
build-backend = "setuptools.build_meta"
2 changes: 1 addition & 1 deletion modules/connectors/easyship/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
long_description = fh.read()

setup(
name="karrio.easyship",
name="karrio_easyship",
version="2024.12rc9",
description="Karrio - Easyship Shipping Extension",
long_description=long_description,
Expand Down
3 changes: 3 additions & 0 deletions modules/connectors/eshipper/pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[build-system]
requires = ["setuptools>=64.0"]
build-backend = "setuptools.build_meta"
2 changes: 1 addition & 1 deletion modules/connectors/eshipper/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
long_description = fh.read()

setup(
name="karrio.eshipper",
name="karrio_eshipper",
version="2024.6",
description="Karrio - eShipper Shipping Extension",
long_description=long_description,
Expand Down
3 changes: 3 additions & 0 deletions modules/connectors/fedex/pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[build-system]
requires = ["setuptools>=64.0"]
build-backend = "setuptools.build_meta"
2 changes: 1 addition & 1 deletion modules/connectors/fedex/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
long_description = fh.read()

setup(
name="karrio.fedex",
name="karrio_fedex",
version="2024.9.15",
description="Karrio - FedEx Shipping Extension",
long_description=long_description,
Expand Down
3 changes: 3 additions & 0 deletions modules/connectors/fedex_ws/pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[build-system]
requires = ["setuptools>=64.0"]
build-backend = "setuptools.build_meta"
2 changes: 1 addition & 1 deletion modules/connectors/fedex_ws/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
long_description = fh.read()

setup(
name="karrio.fedex_ws",
name="karrio_fedex_ws",
version="2024.6",
description="Karrio - Fedex Web Service Shipping extension",
long_description=long_description,
Expand Down
3 changes: 3 additions & 0 deletions modules/connectors/freightcom/pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[build-system]
requires = ["setuptools>=64.0"]
build-backend = "setuptools.build_meta"
2 changes: 1 addition & 1 deletion modules/connectors/freightcom/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
long_description = fh.read()

setup(
name="karrio.freightcom",
name="karrio_freightcom",
version="2023.9.2",
description="Karrio - Freightcom Shipping extension",
long_description=long_description,
Expand Down
3 changes: 3 additions & 0 deletions modules/connectors/generic/pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[build-system]
requires = ["setuptools>=64.0"]
build-backend = "setuptools.build_meta"
2 changes: 1 addition & 1 deletion modules/connectors/generic/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
long_description = fh.read()

setup(
name="karrio.generic",
name="karrio_generic",
version="2024.2",
description="Karrio - Custom carrier Shipping extension",
long_description=long_description,
Expand Down
3 changes: 3 additions & 0 deletions modules/connectors/geodis/pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[build-system]
requires = ["setuptools>=64.0"]
build-backend = "setuptools.build_meta"
2 changes: 1 addition & 1 deletion modules/connectors/geodis/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
long_description = fh.read()

setup(
name="karrio.geodis",
name="karrio_geodis",
version="2024.6",
description="Karrio - GEODIS Shipping Extension",
long_description=long_description,
Expand Down
3 changes: 3 additions & 0 deletions modules/connectors/hay_post/pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[build-system]
requires = ["setuptools>=64.0"]
build-backend = "setuptools.build_meta"
4 changes: 2 additions & 2 deletions modules/connectors/hay_post/setup.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@

"""Warning: This setup.py is only there for git install until poetry support git subdirectory"""

from setuptools import setup, find_namespace_packages

with open("README.md", "r") as fh:
long_description = fh.read()

setup(
name="karrio.hay_post",
name="karrio_hay_post",
version="2024.5",
description="Karrio - HayPost Shipping Extension",
long_description=long_description,
Expand Down
3 changes: 3 additions & 0 deletions modules/connectors/laposte/pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[build-system]
requires = ["setuptools>=64.0"]
build-backend = "setuptools.build_meta"
2 changes: 1 addition & 1 deletion modules/connectors/laposte/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
long_description = fh.read()

setup(
name="karrio.laposte",
name="karrio_laposte",
version="2024.6",
description="Karrio - La Poste Shipping Extension",
long_description=long_description,
Expand Down
Loading

0 comments on commit 6e96e14

Please sign in to comment.