added makepip

This commit is contained in:
Holger Sielaff
2025-08-04 17:49:40 +02:00
parent 95689efbbf
commit 679553beb2
3 changed files with 14 additions and 3 deletions

11
bin/makepip Executable file
View File

@@ -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

View File

@@ -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 <holger@backender.de>
Maintainer-email: Holger Sielaff <holger@backender.de>

View File

@@ -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"]
testpaths = ["tests"]