Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
ICU Format
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Package Registry
Operate
Terraform modules
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
XCG
Odoo modules
ICU Format
Commits
bcbd8542b1d4
Commit
bcbd8542b1d4
authored
1 year ago
by
Vincent Hatakeyama
Browse files
Options
Downloads
Patches
Plain Diff
Loosen up python version
Build with hatchling
parent
84f1eaf4d83a
No related branches found
No related tags found
No related merge requests found
Pipeline
#76544
passed
1 year ago
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
NEWS.rst
+6
-1
6 additions, 1 deletion
NEWS.rst
__manifest__.py
+1
-1
1 addition, 1 deletion
__manifest__.py
pyproject.toml
+36
-13
36 additions, 13 deletions
pyproject.toml
with
43 additions
and
15 deletions
NEWS.rst
+
6
−
1
View file @
bcbd8542
Changelog
=========
16.0.1.0.1
----------
Loosen up python version.
16.0.1.0.0
----------
...
...
@@ -4,7 +9,7 @@
16.0.1.0.0
----------
*
Port to 16.0
Port to 16.0
15.0.1.0.1
----------
...
...
This diff is collapsed.
Click to expand it.
__manifest__.py
+
1
−
1
View file @
bcbd8542
...
...
@@ -21,7 +21,7 @@
{
"
name
"
:
"
ICU Format
"
,
"
summary
"
:
"
Format message using ICU
"
,
"
version
"
:
"
16.0.1.0.
0
"
,
"
version
"
:
"
16.0.1.0.
1
"
,
"
category
"
:
"
Technical
"
,
"
author
"
:
"
XCG Consulting
"
,
"
website
"
:
"
https://orbeet.io/
"
,
...
...
This diff is collapsed.
Click to expand it.
pyproject.toml
+
36
−
13
View file @
bcbd8542
[project]
# TEMPLATE update this value
name
=
"odoo-addon-icuformat"
dynamic
=
[
"version"
]
readme
=
"README.rst"
...
...
@@ -3,10 +2,10 @@
name
=
"odoo-addon-icuformat"
dynamic
=
[
"version"
]
readme
=
"README.rst"
requires-python
=
"~
=
3.10
.
0
"
requires-python
=
"~
=
3.10
"
license
=
{
file
=
"LICENSE"
,
name
=
"GNU Affero General Public License v3"
}
keywords
=
[
"odoo"
]
authors
=
[
{
name
=
"XCG Consulting"
}
]
classifiers
=
[
"Programming Language :: Python"
,
"Programming Language :: Python :: 3"
,
...
...
@@ -7,9 +6,11 @@
license
=
{
file
=
"LICENSE"
,
name
=
"GNU Affero General Public License v3"
}
keywords
=
[
"odoo"
]
authors
=
[
{
name
=
"XCG Consulting"
}
]
classifiers
=
[
"Programming Language :: Python"
,
"Programming Language :: Python :: 3"
,
"Programming Language :: Python :: 3.10"
,
"Programming Language :: Python :: 3.11"
,
"Framework :: Odoo"
,
"Framework :: Odoo :: 16.0"
,
"License :: OSI Approved :: GNU Affero General Public License v3"
...
...
@@ -17,7 +18,7 @@
dependencies
=
["odoo=
=
16.0
.*
", "
PyICU
"]
[project.optional-dependencies]
doc
=
[
"sphinx"
,
"sphinx-odoo-autodoc"
]
doc
=
[
"sphinx"
,
"sphinx-odoo-autodoc"
,
"odoo-scripts"
]
test
=
[]
[project.urls]
...
...
@@ -21,8 +22,7 @@
test
=
[]
[project.urls]
# TEMPLATE update these values
repository
=
"https://orus.io/xcg/template/icuformat"
changelog
=
"https://orus.io/xcg/template/icuformat/-/blob/branch/16.0/NEWS.rst"
[build-system]
...
...
@@ -25,7 +25,20 @@
repository
=
"https://orus.io/xcg/template/icuformat"
changelog
=
"https://orus.io/xcg/template/icuformat/-/blob/branch/16.0/NEWS.rst"
[build-system]
requires
=
[
"setuptools >=64.0.0"
,
"wheel"
,
"setuptools_scm[toml] >=6.2"
]
build-backend
=
"setuptools.build_meta"
requires
=
[
"hatchling >=1.19"
,
"hatch-vcs"
]
build-backend
=
"hatchling.build"
[tool.hatch.build]
exclude
=
[
"/doc/"
,
"/.editorconfig"
,
"/.eslintrc.yml"
,
"/.flake8"
,
"/.gitlab-ci.yml"
,
"/.hgignore"
,
"/.hgtags"
,
"/.prettierrc.yml"
,
"/.yamllint.yaml"
]
...
...
@@ -31,5 +44,13 @@
[tool.setuptools]
# When using this template, update this value
package-dir
=
{
"odoo.addons.icuformat"
=
"."
}
[tool.hatch.build.targets.wheel]
include
=
[
"*.csv"
,
"/i18n/"
,
"/static/"
,
"README.rst"
,
"*.xml"
,
"*.py"
,
"*.svg"
,
"*.png"
]
...
...
@@ -35,4 +56,4 @@
[tool.
setuptools.package-data
]
"
*
"
=
[
"*"
]
[tool.
hatch.build.targets.wheel.sources
]
""
=
"odoo/addons/icuformat"
...
...
@@ -38,4 +59,5 @@
[tool.setuptools_scm]
[tool.hatch.version]
source
=
"vcs"
[tool.black]
...
...
@@ -40,6 +62,7 @@
[tool.black]
target
=
3.10
target-version
=
[
"py310"
,
"py311"
]
required-version
=
"22"
[tool.isort]
py_version
=
310
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment