summaryrefslogtreecommitdiff
path: root/plugins/ext_test/setup.py
diff options
context:
space:
mode:
authorEric Lin <anselor@gmail.com>2020-07-07 15:57:02 -0400
committeranselor <anselor@gmail.com>2020-07-11 17:30:40 -0400
commit601a8e271020ca1b0918deabf70ad0778ded7d4a (patch)
tree48f2134a71a2478c00eb9df33e69b30c0ae39002 /plugins/ext_test/setup.py
parent28e43bf24f8a5bc0b2e896938e76e17524d12ed3 (diff)
downloadcmd2-git-601a8e271020ca1b0918deabf70ad0778ded7d4a.tar.gz
external test plugin tests and coverage should now run
Diffstat (limited to 'plugins/ext_test/setup.py')
-rw-r--r--plugins/ext_test/setup.py63
1 files changed, 63 insertions, 0 deletions
diff --git a/plugins/ext_test/setup.py b/plugins/ext_test/setup.py
new file mode 100644
index 00000000..41d97316
--- /dev/null
+++ b/plugins/ext_test/setup.py
@@ -0,0 +1,63 @@
+#
+# coding=utf-8
+
+import os
+import setuptools
+
+#
+# get the long description from the README file
+here = os.path.abspath(os.path.dirname(__file__))
+with open(os.path.join(here, 'README.md'), encoding='utf-8') as f:
+ long_description = f.read()
+
+setuptools.setup(
+ name='cmd2-ext-test',
+ version='0.2.0',
+ # use_scm_version={
+ # 'root': '../..',
+ # 'relative_to': __file__,
+ # 'git_describe_command': 'git describe --dirty --tags --long --match plugin-ext-test*'
+ # },
+
+ description='External test plugin for cmd2. Allows for external invocation of commands as if from a cmd2 pyscript',
+ long_description=long_description,
+ long_description_content_type='text/markdown',
+ keywords='cmd2 test plugin',
+
+ author='Eric Lin',
+ author_email='anselor@gmail.com',
+ url='https://github.com/python-cmd2/cmd2-ext-test',
+ license='MIT',
+
+ packages=['cmd2_ext_test'],
+
+ python_requires='>=3.4',
+ install_requires=['cmd2 >= 0.9.4, <=2'],
+ setup_requires=['setuptools_scm >= 3.0'],
+
+ classifiers=[
+ 'Development Status :: 4 - Beta',
+ 'Environment :: Console',
+ 'Operating System :: OS Independent',
+ 'Topic :: Software Development :: Libraries :: Python Modules',
+ 'Intended Audience :: Developers',
+ 'License :: OSI Approved :: MIT License',
+ 'Programming Language :: Python :: 3.4',
+ 'Programming Language :: Python :: 3.5',
+ 'Programming Language :: Python :: 3.6',
+ 'Programming Language :: Python :: 3.7',
+ ],
+
+ # dependencies for development and testing
+ # $ pip install -e .[dev]
+ extras_require={
+ 'test': [
+ 'codecov',
+ 'coverage',
+ 'pytest',
+ 'pytest-cov',
+ ],
+ 'dev': ['setuptools_scm', 'pytest', 'codecov', 'pytest-cov',
+ 'pylint', 'invoke', 'wheel', 'twine']
+ },
+)