Adding back sdist to fix issues with optional extras

This commit is contained in:
Ilan Steemers
2020-05-31 19:43:18 +02:00
parent c32724ff24
commit 56982bdd26
6 changed files with 83 additions and 3 deletions
+9
View File
@@ -0,0 +1,9 @@
include LICENSE
include README.rst
include CHANGELOG.
recursive-include django_q/locale *
include django_q/management/*.py
include django_q/management/commands/*.py
include django_q/migrations/*.py
include django_q/brokers/*.py
include django_q/tests/*.py
+1 -1
View File
@@ -1,4 +1,4 @@
VERSION = (1, 2, 2)
VERSION = (1, 2, 3)
default_app_config = 'django_q.apps.DjangoQConfig'
+1 -1
View File
@@ -73,7 +73,7 @@ author = 'Ilan Steemers'
# The short X.Y version.
version = '1.2'
# The full version, including alpha/beta/rc tags.
release = '1.2.2'
release = '1.2.3'
# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
+1 -1
View File
@@ -1,6 +1,6 @@
[tool.poetry]
name = "django-q"
version = "1.2.2"
version = "1.2.3"
description = "A multiprocessing distributed task queue for Django"
authors = ["Ilan Steemers <koed00@gmail.com>"]
license = "MIT"
+2
View File
@@ -0,0 +1,2 @@
[bdist_wheel]
universal=0
+69
View File
@@ -0,0 +1,69 @@
import os
from setuptools import setup, Command
with open(os.path.join(os.path.dirname(__file__), 'README.rst')) as readme:
README = readme.read()
os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir)))
class PyTest(Command):
user_options = []
def initialize_options(self):
pass
def finalize_options(self):
pass
def run(self):
import subprocess
import sys
errno = subprocess.call([sys.executable, 'runtests.py'])
raise SystemExit(errno)
setup(
name='django-q',
version='1.2.3',
author='Ilan Steemers',
author_email='koed00@gmail.com',
keywords='django multiprocessing worker scheduler queue',
packages=['django_q'],
include_package_data=True,
url='https://django-q.readthedocs.org',
license='MIT',
description='A multiprocessing distributed task queue for Django',
long_description=README,
install_requires=['django>=2.2', 'django-picklefield', 'blessed', 'arrow'],
test_requires=['pytest', 'pytest-django', ],
cmdclass={'test': PyTest},
classifiers=[
'Development Status :: 5 - Production/Stable',
'Environment :: Web Environment',
'Framework :: Django',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: POSIX',
'Operating System :: MacOS',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Topic :: Internet :: WWW/HTTP',
'Topic :: System :: Distributed Computing',
'Topic :: Software Development :: Libraries :: Python Modules',
],
entry_points={
'djangoq.errorreporters': [
'rollbar = django_q_rollbar:Rollbar',
'sentry = django_q_sentry:Sentry',
]
},
extras_require={
'rollbar': ["django-q-rollbar>=0.1"],
'sentry': ["django-q-sentry>=0.1"],
}
)