chore: prepare package publishing metadata
Build & Publish Package / publish (push) Successful in 30s

- Add Gitea workflow for tagged package releases.
- Move package metadata into pyproject.toml.
- Bump the package version to 3.0.2.
- Define optional extras for dotenv, MongoDB, Redis, and Trio Redis.
- Keep setup.py as a minimal setuptools entry point.
- Disable universal wheel output for Python 3 only builds.
This commit is contained in:
2026-09-06 01:52:06 +02:00
parent ce173e43c7
commit f5076112a1
5 changed files with 77 additions and 60 deletions
+1 -55
View File
@@ -1,57 +1,3 @@
"""
Quart-Session
-------------
Quart-Session is an extension for Quart that adds support for
Server-side Session to your application.
Links
`````
* `Github
<https://github.com/kroketio/quart-session>`_
"""
from setuptools import setup
with open('README.md') as f:
long_description = f.read()
INSTALL_REQUIRES = [
"Quart>=0.19.0"
]
setup(
name='Quart-Session',
version='3.0.1',
url='https://github.com/kroketio/quart-session',
license='BSD',
author='Kroket Ltd.',
author_email='code@kroket.io',
description='Adds server-side session support to your Quart application',
long_description=long_description,
long_description_content_type='text/markdown',
packages=['quart_session'],
zip_safe=False,
include_package_data=True,
platforms='any',
install_requires=INSTALL_REQUIRES,
tests_require=INSTALL_REQUIRES + ["asynctest", "hypothesis", "pytest", "pytest-asyncio"],
extras_require={
"dotenv": ["python-dotenv"],
"mongodb": ["motor>=2.5.1"],
"redis": ["redis>=4.4.0"]
},
classifiers=[
'Environment :: Web Environment',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
'Topic :: Software Development :: Libraries :: Python Modules'
]
)
setup()