From 9553d258c71578a7fb96885724fb037b5f48ede8 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Tue, 13 Apr 2021 16:29:42 +0300 Subject: add packaging metadata --- .gitignore | 4 ++++ pyproject.toml | 3 +++ setup.cfg | 33 +++++++++++++++++++++++++++++++++ setup.py | 2 ++ 4 files changed, 42 insertions(+) create mode 100644 pyproject.toml create mode 100644 setup.cfg create mode 100644 setup.py diff --git a/.gitignore b/.gitignore index c18dd8d..149fc48 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,5 @@ __pycache__/ + +/build/ +/dist/ +/*.egg-info/ diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..9787c3b --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,3 @@ +[build-system] +requires = ["setuptools", "wheel"] +build-backend = "setuptools.build_meta" diff --git a/setup.cfg b/setup.cfg new file mode 100644 index 0000000..b9c42a7 --- /dev/null +++ b/setup.cfg @@ -0,0 +1,33 @@ +[metadata] +name = cmake_common_egor_tensin +version = 0.1 +author = Egor Tensin +author_email = Egor.Tensin@gmail.com +description = Various 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: +scripts = + tools/clang-format.py + tools/ctest-driver.py +#python_requires = >=3.6 + +[options.entry_points] +console_scripts = + boost-download = project.boost.download:_main + boost-build = project.boost.build:_main + cmake-build = project.cmake.build:main + ci-cmake = project.ci.cmake:main + ci-boost = project.ci.boost:main diff --git a/setup.py b/setup.py new file mode 100644 index 0000000..a4f49f9 --- /dev/null +++ b/setup.py @@ -0,0 +1,2 @@ +import setuptools +setuptools.setup() -- cgit v1.2.3