diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2021-04-13 16:29:42 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2021-04-13 16:29:42 +0300 |
commit | 9553d258c71578a7fb96885724fb037b5f48ede8 (patch) | |
tree | 1c1199c0164e827c8ca72aa517a9fa501b02b78e | |
parent | tools: update usage information, add docs/ entries (diff) | |
download | cmake-common-9553d258c71578a7fb96885724fb037b5f48ede8.tar.gz cmake-common-9553d258c71578a7fb96885724fb037b5f48ede8.zip |
add packaging metadata
-rw-r--r-- | .gitignore | 4 | ||||
-rw-r--r-- | pyproject.toml | 3 | ||||
-rw-r--r-- | setup.cfg | 33 | ||||
-rw-r--r-- | setup.py | 2 |
4 files changed, 42 insertions, 0 deletions
@@ -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() |