1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81
|
#!/usr/bin/env python
"""Package configuration."""
from setuptools import find_packages, setup
with open('README.rst', 'r') as readme:
long_description = readme.read()
# Extra dependencies
extras_require = {
# Test dependencies
'tests': [
'bandit',
'flake8',
'flake8-import-order',
'mypy',
'pytest-cov',
'pytest-xdist',
'pytest',
'sphinx_rtd_theme',
'sphinx-argparse',
'sphinx-autodoc-typehints',
'Sphinx',
'types-pkg_resources',
],
'prospector': [
'prospector[with_everything]',
'pytest',
],
}
setup_requires = [
'pytest-runner',
'setuptools_scm',
]
setup(
author='Riccardo Coccioli',
author_email='volans-@users.noreply.github.com',
classifiers=[
'Development Status :: 5 - Production/Stable',
'Environment :: Console',
'Intended Audience :: Developers',
'Intended Audience :: End Users/Desktop',
'Intended Audience :: Information Technology',
'Intended Audience :: Science/Research',
'Intended Audience :: System Administrators',
'License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)',
'Operating System :: OS Independent',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3 :: Only',
'Topic :: Software Development :: Libraries :: Python Modules',
'Topic :: Text Processing',
'Topic :: Utilities',
'Typing :: Typed',
],
description=('gjson-py is a Python package that provides a simple way to filter and extract data from JSON-like '
'objects or JSON files, using the GJSON syntax.'),
entry_points={
'console_scripts': [
'gjson = gjson._cli:cli',
],
},
extras_require=extras_require,
install_requires=[],
keywords=['gjson', 'json'],
license='GPLv3+',
long_description=long_description,
long_description_content_type='text/x-rst',
name='gjson',
package_data={'gjson': ['py.typed']},
packages=find_packages(),
platforms=['GNU/Linux', 'BSD', 'MacOSX'],
python_requires='>=3.9',
setup_requires=setup_requires,
url='https://github.com/volans-/gjson-py',
use_scm_version=True,
zip_safe=False,
)
|