added makepip
This commit is contained in:
11
bin/makepip
Executable file
11
bin/makepip
Executable 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
|
||||||
|
|
||||||
@@ -1,6 +1,6 @@
|
|||||||
Metadata-Version: 2.4
|
Metadata-Version: 2.4
|
||||||
Name: django-translatable-fields
|
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
|
Summary: Django plugin that mimics Odoo's translate=True functionality with admin interface integration
|
||||||
Author-email: Holger Sielaff <holger@backender.de>
|
Author-email: Holger Sielaff <holger@backender.de>
|
||||||
Maintainer-email: Holger Sielaff <holger@backender.de>
|
Maintainer-email: Holger Sielaff <holger@backender.de>
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|||||||
|
|
||||||
[project]
|
[project]
|
||||||
name = "django-translatable-fields"
|
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"
|
description = "Django plugin that mimics Odoo's translate=True functionality with admin interface integration"
|
||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
license = {file = "LICENSE"}
|
license = {file = "LICENSE"}
|
||||||
@@ -122,4 +122,4 @@ django_settings_module = "tests.settings"
|
|||||||
DJANGO_SETTINGS_MODULE = "tests.settings"
|
DJANGO_SETTINGS_MODULE = "tests.settings"
|
||||||
python_files = ["tests.py", "test_*.py", "*_tests.py"]
|
python_files = ["tests.py", "test_*.py", "*_tests.py"]
|
||||||
addopts = "--tb=short"
|
addopts = "--tb=short"
|
||||||
testpaths = ["tests"]
|
testpaths = ["tests"]
|
||||||
|
|||||||
Reference in New Issue
Block a user