# HG changeset patch # User Vincent Hatakeyama <vincent.hatakeyama@xcg-consulting.fr> # Date 1643107980 -3600 # Tue Jan 25 11:53:00 2022 +0100 # Node ID 644811469545a8c066ed5d15848c67cd62033554 # Parent e48babc87b84fac31e795cad328df06b77e0c0a1 PIP 621 diff --git a/setup.cfg b/.bumpversion.cfg rename from setup.cfg rename to .bumpversion.cfg --- a/setup.cfg +++ b/.bumpversion.cfg @@ -17,6 +17,8 @@ [bumpversion:file:odoo_scripts/__init__.py] +[bumpversion:file:pyproject.toml] + [bumpversion:file:setup.py] [flake8] diff --git a/setup.cfg b/.flake8 copy from setup.cfg copy to .flake8 --- a/setup.cfg +++ b/.flake8 @@ -1,23 +1,2 @@ -[bumpversion] -current_version = 14.0.0 -parse = (?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+) -serialize = - {major}.{minor}.{patch} -tag_name = {new_version} -tag_message = 🔖 {new_version} -message = {new_version} - -[bumpversion:file:create_documentation] - -[bumpversion:file:do_tests] - -[bumpversion:file:run_tests] - -[bumpversion:file:start] - -[bumpversion:file:odoo_scripts/__init__.py] - -[bumpversion:file:setup.py] - [flake8] max-line-length = 88 diff --git a/pyproject.toml b/pyproject.toml --- a/pyproject.toml +++ b/pyproject.toml @@ -1,9 +1,22 @@ +[project] +name = "odoo_scripts" +version = "14.0.0" +description = "Collection of scripts for Odoo" +readme = "README.rst" +requires-python = ">=3.6" +license = {file = "LICENSE"} +author = "XCG Consulting" +classifiers = [ + "Development Status :: 5 - Production/Stable", + "Programming Language :: Python :: 3", + "License :: OSI Approved :: MIT License", + "Environment :: Console", +] + [build-system] requires = ["setuptools >= 40.6.0", "wheel"] build-backend = "setuptools.build_meta" -# See <https://pypi.org/project/black/>. - [tool.black] target = 3.6