diff --git a/setup.cfg b/.bumpversion.cfg similarity index 96% rename from setup.cfg rename to .bumpversion.cfg index e48babc87b84fac31e795cad328df06b77e0c0a1_c2V0dXAuY2Zn..644811469545a8c066ed5d15848c67cd62033554_LmJ1bXB2ZXJzaW9uLmNmZw== 100644 --- 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 similarity index 12% copy from setup.cfg copy to .flake8 index e48babc87b84fac31e795cad328df06b77e0c0a1_c2V0dXAuY2Zn..644811469545a8c066ed5d15848c67cd62033554_LmZsYWtlOA== 100644 --- 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 index e48babc87b84fac31e795cad328df06b77e0c0a1_cHlwcm9qZWN0LnRvbWw=..644811469545a8c066ed5d15848c67cd62033554_cHlwcm9qZWN0LnRvbWw= 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,4 +1,19 @@ +[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" @@ -1,9 +16,7 @@ [build-system] requires = ["setuptools >= 40.6.0", "wheel"] build-backend = "setuptools.build_meta" -# See <https://pypi.org/project/black/>. - [tool.black] target = 3.6