askrobots / dbbasic-queue
Public
A job queue in TSV files for background tasks, with retries and exponential backoff.
setup.py · 2.0 KB · 51 lines
| 1 | from setuptools import setup, find_packages |
| 2 | |
| 3 | with open("README.md", "r", encoding="utf-8") as fh: |
| 4 | long_description = fh.read() |
| 5 | |
| 6 | setup( |
| 7 | name="dbbasic-queue", |
| 8 | version="1.0.0", |
| 9 | author="DBBasic Project", |
| 10 | author_email="dan@quellhorst.com", |
| 11 | description="TSV-based job queue for async tasks", |
| 12 | long_description=long_description, |
| 13 | long_description_content_type="text/markdown", |
| 14 | url="https://github.com/askrobots/dbbasic-queue", |
| 15 | project_urls={ |
| 16 | "Bug Tracker": "https://github.com/askrobots/dbbasic-queue/issues", |
| 17 | "Documentation": "https://github.com/askrobots/dbbasic-queue#readme", |
| 18 | "Source Code": "https://github.com/askrobots/dbbasic-queue", |
| 19 | "Specification": "http://dbbasic.com/queue-spec", |
| 20 | }, |
| 21 | packages=find_packages(exclude=["tests", "tests.*", "examples", "examples.*", "workers", "workers.*"]), |
| 22 | classifiers=[ |
| 23 | "Development Status :: 4 - Beta", |
| 24 | "Intended Audience :: Developers", |
| 25 | "Topic :: Software Development :: Libraries :: Python Modules", |
| 26 | "Topic :: System :: Distributed Computing", |
| 27 | "License :: OSI Approved :: MIT License", |
| 28 | "Programming Language :: Python :: 3", |
| 29 | "Programming Language :: Python :: 3.6", |
| 30 | "Programming Language :: Python :: 3.7", |
| 31 | "Programming Language :: Python :: 3.8", |
| 32 | "Programming Language :: Python :: 3.9", |
| 33 | "Programming Language :: Python :: 3.10", |
| 34 | "Programming Language :: Python :: 3.11", |
| 35 | "Programming Language :: Python :: 3.12", |
| 36 | "Operating System :: OS Independent", |
| 37 | ], |
| 38 | keywords="queue, job queue, background jobs, async, tsv, cron, worker", |
| 39 | python_requires=">=3.6", |
| 40 | install_requires=[ |
| 41 | # Note: dbbasic-tsv is stubbed in the implementation |
| 42 | # Remove this dependency once dbbasic-tsv is published |
| 43 | # "dbbasic-tsv>=1.0.0", |
| 44 | ], |
| 45 | extras_require={ |
| 46 | "dev": [ |
| 47 | "pytest>=7.0.0", |
| 48 | "pytest-cov>=4.0.0", |
| 49 | ], |
| 50 | }, |
| 51 | ) |