diff --git a/setup.cfg b/setup.cfg new file mode 100644 index 0000000..224a779 --- /dev/null +++ b/setup.cfg @@ -0,0 +1,2 @@ +[metadata] +description-file = README.md \ No newline at end of file diff --git a/setup.py b/setup.py index 1fdbee9..495a30f 100644 --- a/setup.py +++ b/setup.py @@ -1,20 +1,34 @@ -#!/usr/bin/env python - from setuptools.depends import get_module_constant -from setuptools import setup +from setuptools import setup, find_packages + +with open("README.md", "r", encoding="utf-8") as fh: + long_description = fh.read() setup( - name='BlazingDocs', - packages=['blazingdocs'], - version=get_module_constant('blazingdocs', '__version__'), - description='BlazingDocs Python client', - long_description='High-performance document generation API. Generate documents and reports from СSV, JSON, XML with 99,9% uptime and 24/7 monitoring.', - author='Mentalstack', - author_email='hello@blazingdocs.com', - url='https://blazingdocs.com', - download_url='https://github.com/blazingdocs/blazingdocs-python', - keywords=['doc', 'docx', 'pdf', 'odt', 'report', 'document', 'template', 'office', 'openoffice', 'merge', 'xml', 'json', 'csv'], - install_requires=['requests>=2.26.0'], - classifiers=[], - license='MIT' + name="blazingdocs", + packages=find_packages(exclude=["examples"]), + version=get_module_constant("blazingdocs", "__version__"), + description="BlazingDocs Python client", + long_description=long_description, + long_description_content_type="text/markdown", + author="Mentalstack", + author_email="hello@blazingdocs.com", + url="https://blazingdocs.com", + download_url="https://github.com/blazingdocs/blazingdocs-python", + keywords=["doc", "docx", "pdf", "odt", "report", "document", "template", "office", "openoffice", "merge", "xml", "json", "csv"], + install_requires=["requests>=2.26.0"], + python_requires=">=3.9", + project_urls={ + "Bug Tracker": "https://github.com/blazingdocs/blazingdocs-python/issues", + "Documentation": "https://docs.blazingdocs.com", + "Source Code": "https://github.com/blazingdocs/blazingdocs-python", + }, + classifiers=[ + "Development Status :: 5 - Production/Stable", + "Intended Audience :: Developers", + "License :: OSI Approved :: MIT License", + "Operating System :: OS Independent", + "Programming Language :: Python :: 3.9", + "Topic :: Software Development :: Libraries :: Python Modules", ], + license="MIT" )