From 679553beb29f8ca100c5a84accfe8696325a1787 Mon Sep 17 00:00:00 2001 From: Holger Sielaff Date: Mon, 4 Aug 2025 17:49:40 +0200 Subject: [PATCH] added makepip --- bin/makepip | 11 +++++++++++ django_translatable_fields.egg-info/PKG-INFO | 2 +- pyproject.toml | 4 ++-- 3 files changed, 14 insertions(+), 3 deletions(-) create mode 100755 bin/makepip diff --git a/bin/makepip b/bin/makepip new file mode 100755 index 0000000..065e180 --- /dev/null +++ b/bin/makepip @@ -0,0 +1,11 @@ +#!/bin/bash +set -e +cd $(dirname $0)/.. +vi pyproject.toml +version=$(grep -oPe '^ *version *= *.*$' pyproject.toml | awk '{print $3}' | sed 's/"//g;'"s/'//g" ) + +. venv_build/bin/activate + +python3 -m build +python3 -m twine upload --repository gitea dist/django_translatable_fields-$version + diff --git a/django_translatable_fields.egg-info/PKG-INFO b/django_translatable_fields.egg-info/PKG-INFO index 7540d04..d2f81d7 100644 --- a/django_translatable_fields.egg-info/PKG-INFO +++ b/django_translatable_fields.egg-info/PKG-INFO @@ -1,6 +1,6 @@ Metadata-Version: 2.4 Name: django-translatable-fields -Version: 0.1.0 +Version: 0.1.1 Summary: Django plugin that mimics Odoo's translate=True functionality with admin interface integration Author-email: Holger Sielaff Maintainer-email: Holger Sielaff diff --git a/pyproject.toml b/pyproject.toml index d8673fe..74f4021 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta" [project] name = "django-translatable-fields" -version = "0.1.0" +version = "0.1.1" description = "Django plugin that mimics Odoo's translate=True functionality with admin interface integration" readme = "README.md" license = {file = "LICENSE"} @@ -122,4 +122,4 @@ django_settings_module = "tests.settings" DJANGO_SETTINGS_MODULE = "tests.settings" python_files = ["tests.py", "test_*.py", "*_tests.py"] addopts = "--tb=short" -testpaths = ["tests"] \ No newline at end of file +testpaths = ["tests"]