45 lines
1.3 KiB
Python
45 lines
1.3 KiB
Python
from setuptools import setup, find_packages
|
|
|
|
with open("README.md", "r", encoding="utf-8") as fh:
|
|
long_description = fh.read()
|
|
|
|
setup(
|
|
name="json-to-openapi",
|
|
version="1.0.0",
|
|
author="Developer",
|
|
author_email="developer@example.com",
|
|
description="A Python CLI tool that analyzes JSON data files and automatically generates valid OpenAPI 3.0 specification files",
|
|
long_description=long_description,
|
|
long_description_content_type="text/markdown",
|
|
url="https://github.com/example/json-to-openapi",
|
|
packages=find_packages(),
|
|
classifiers=[
|
|
"Development Status :: 4 - Beta",
|
|
"Intended Audience :: Developers",
|
|
"License :: OSI Approved :: MIT License",
|
|
"Operating System :: OS Independent",
|
|
"Programming Language :: Python :: 3",
|
|
"Programming Language :: Python :: 3.9",
|
|
"Programming Language :: Python :: 3.10",
|
|
"Programming Language :: Python :: 3.11",
|
|
"Programming Language :: Python :: 3.12",
|
|
],
|
|
python_requires=">=3.9",
|
|
install_requires=[
|
|
"click>=8.0",
|
|
"jsonschema>=4.0",
|
|
"pyyaml>=6.0",
|
|
],
|
|
extras_require={
|
|
"dev": [
|
|
"pytest>=7.0",
|
|
"pytest-cov>=4.0",
|
|
],
|
|
},
|
|
entry_points={
|
|
"console_scripts": [
|
|
"json-to-openapi=json_to_openapi.cli:main",
|
|
],
|
|
},
|
|
)
|