From 22d7e060dfb5d75c44ddf02cf2a46d2587088b9e Mon Sep 17 00:00:00 2001 From: Dirk Thomas Date: Tue, 13 Mar 2018 20:00:36 -0700 Subject: [PATCH] add setup files --- setup.cfg | 59 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ setup.py | 6 ++++++ 2 files changed, 65 insertions(+) create mode 100644 setup.cfg create mode 100644 setup.py diff --git a/setup.cfg b/setup.cfg new file mode 100644 index 0000000..33791dd --- /dev/null +++ b/setup.cfg @@ -0,0 +1,59 @@ +[metadata] +name = colcon-cmake +version = attr: colcon_cmake.__version__ +url = https://colcon.github.io +download_url = https://github.com/colcon/colcon-cmake/releases +author = Dirk Thomas +author_email = web@dirk-thomas.net +maintainer = Dirk Thomas +maintainer_email = web@dirk-thomas.net +classifiers = + Development Status :: 3 - Alpha + Environment :: Plugins + Intended Audience :: Developers + License :: OSI Approved :: Apache Software License + Operating System :: MacOS + Operating System :: Microsoft :: Windows + Operating System :: POSIX + Programming Language :: Python + Topic :: Software Development :: Build Tools +license = Apache License, Version 2.0 +description = Extension for colcon to support CMake packages. +keywords = colcon + +[options] +install_requires = + colcon-core + colcon-library-path +packages = find: +tests_require = + flake8-blind-except + flake8-builtins + flake8-class-newline + flake8-comprehensions + flake8-deprecated + flake8-docstrings + flake8-import-order + flake8-quotes + pep8-naming + pyenchant + pylint + pytest + pytest-cov +zip_safe = true + +[options.entry_points] +colcon_argcomplete.argcomplete_completer = + cmake_args = colcon_cmake.argcomplete_completer.cmake_args:CmakeArgcompleteCompleter +colcon_core.environment = + cmake_module_path = colcon_cmake.environment.cmake_module_path:CmakeModulePathEnvironment + cmake_prefix_path = colcon_cmake.environment.cmake_prefix_path:CmakePrefixPathEnvironment +colcon_core.environment_variable = + cmake_command = colcon_cmake.task.cmake:CMAKE_COMMAND_ENVIRONMENT_VARIABLE + ctest_command = colcon_cmake.task.cmake:CTEST_COMMAND_ENVIRONMENT_VARIABLE +colcon_core.package_identification = + cmake = colcon_cmake.package_identification.cmake:CmakePackageIdentification +colcon_core.task.build = + cmake = colcon_cmake.task.cmake.build:CmakeBuildTask +colcon_core.task.test = + cmake = colcon_cmake.task.cmake.test:CmakeTestTask diff --git a/setup.py b/setup.py new file mode 100644 index 0000000..e82fd0b --- /dev/null +++ b/setup.py @@ -0,0 +1,6 @@ +# Copyright 2016-2018 Dirk Thomas +# Licensed under the Apache License, Version 2.0 + +from setuptools import setup + +setup()