diff options
Diffstat (limited to '')
-rw-r--r-- | pyproject.toml | 39 | ||||
-rw-r--r-- | setup.cfg | 36 | ||||
-rw-r--r-- | setup.py | 2 |
3 files changed, 38 insertions, 39 deletions
diff --git a/pyproject.toml b/pyproject.toml index 9787c3b..f1052b4 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,3 +1,40 @@ [build-system] -requires = ["setuptools", "wheel"] +requires = ["setuptools>=61.0"] build-backend = "setuptools.build_meta" + +[project] +name = "cmake_common" +description = "Utilities to help develop C++/CMake projects" +license = {text = "MIT"} +version = "3.4.1" +authors = [{name = "Egor Tensin", email = "Egor.Tensin@gmail.com"}] +readme = "README.md" +requires-python = ">=3.6" + +classifiers = [ + "Development Status :: 4 - Beta", + "Intended Audience :: Developers", + "License :: OSI Approved :: MIT License", + "Programming Language :: C++", + "Topic :: Software Development :: Build Tools", +] + +[project.urls] +"Homepage" = "https://github.com/egor-tensin/cmake-common" +"Bug Tracker" = "https://github.com/egor-tensin/cmake-common/issues" + +[project.scripts] +boost-build = "project.boost.build:_main" +boost-download = "project.boost.download:_main" +ci-boost = "project.ci.boost:main" +ci-cmake = "project.ci.cmake:main" +cmake-build = "project.cmake.build:main" + +[tool.setuptools] +script-files = [ + "tools/ctest-driver.py", + "tools/project-clang-format.py", +] + +[tool.setuptools.data-files] +"share/cmake" = ["common.cmake"] diff --git a/setup.cfg b/setup.cfg deleted file mode 100644 index d43029f..0000000 --- a/setup.cfg +++ /dev/null @@ -1,36 +0,0 @@ -[metadata] -name = cmake_common -version = 3.4.1 -author = Egor Tensin -author_email = Egor.Tensin@gmail.com -description = Utilities to help develop C++/CMake projects -long_description = file: README.md -long_description_content_type = text/markdown -license = MIT -url = https://github.com/egor-tensin/cmake-common -project_urls = - Bug Tracker = https://github.com/egor-tensin/cmake-common/issues -classifiers = - Development Status :: 4 - Beta - Intended Audience :: Developers - License :: OSI Approved :: MIT License - Programming Language :: C++ - Topic :: Software Development :: Build Tools - -[options] -packages = find: -python_requires = >=3.6 -scripts = - tools/project-clang-format.py - tools/ctest-driver.py - -[options.data_files] -share/cmake = common.cmake - -[options.entry_points] -console_scripts = - boost-build = project.boost.build:_main - boost-download = project.boost.download:_main - ci-boost = project.ci.boost:main - ci-cmake = project.ci.cmake:main - cmake-build = project.cmake.build:main diff --git a/setup.py b/setup.py deleted file mode 100644 index a4f49f9..0000000 --- a/setup.py +++ /dev/null @@ -1,2 +0,0 @@ -import setuptools -setuptools.setup() |