aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2021-04-13 16:29:42 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2021-04-13 16:29:42 +0300
commit9553d258c71578a7fb96885724fb037b5f48ede8 (patch)
tree1c1199c0164e827c8ca72aa517a9fa501b02b78e
parenttools: update usage information, add docs/ entries (diff)
downloadcmake-common-9553d258c71578a7fb96885724fb037b5f48ede8.tar.gz
cmake-common-9553d258c71578a7fb96885724fb037b5f48ede8.zip
add packaging metadata
-rw-r--r--.gitignore4
-rw-r--r--pyproject.toml3
-rw-r--r--setup.cfg33
-rw-r--r--setup.py2
4 files changed, 42 insertions, 0 deletions
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()