summaryrefslogtreecommitdiffstats
path: root/contacts_validation/setup.py
diff options
context:
space:
mode:
Diffstat (limited to 'contacts_validation/setup.py')
-rwxr-xr-xcontacts_validation/setup.py47
1 files changed, 47 insertions, 0 deletions
diff --git a/contacts_validation/setup.py b/contacts_validation/setup.py
new file mode 100755
index 0000000..383d6cd
--- /dev/null
+++ b/contacts_validation/setup.py
@@ -0,0 +1,47 @@
+#!/usr/bin/env python3
+# Copyright 2018 vg@devys.org
+# SPDX-License-Identifier: MIT
+
+from setuptools import setup
+
+def readme():
+ with open('README.rst') as f:
+ return f.read()
+
+setup(
+ name='contacts_validation',
+ version='0.1',
+ description='Validate contact database in yaml format',
+ #long_description=readme(),
+ # description at https://pypi.org/pypi?%3Aaction=list_classifiers
+ classifiers=[
+ 'Development Status :: 3 - Alpha',
+ 'License :: OSI Approved :: MIT License',
+ 'Programming Language :: Python :: 3.6',
+ 'Environment :: Console',
+ 'Intended Audience :: End Users/Desktop',
+ 'Natural Language :: English',
+ 'Operating System :: POSIX',
+ 'Topic :: Utilities',
+ ],
+ keywords='contacts contact validation schema',
+ url='https://git.devys.org/contacts_validation',
+ author='vg',
+ author_email='vg+dev@devys.org',
+ license='MIT',
+ packages=['contacts_validation'], # module packages
+ install_requires=[
+ 'docopt',
+ 'pyyaml',
+ 'jsonschema',
+ ],
+ include_package_data=True,
+ zip_safe=False,
+ #scripts=['./jsonschema_yaml.py'],
+ entry_points = {
+ 'console_scripts':
+ ['contacts-validation=contacts_validation.command_line:main'],
+ },
+ #test_suite='pytest',
+ #tests_require=['pytest'],
+)