Skip to content

Commit

Permalink
Adding back sdist to fix issues with optional extras
Browse files Browse the repository at this point in the history
  • Loading branch information
Koed00 committed May 31, 2020
1 parent c32724f commit 56982bd
Show file tree
Hide file tree
Showing 6 changed files with 83 additions and 3 deletions.
9 changes: 9 additions & 0 deletions MANIFEST.in
@@ -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
2 changes: 1 addition & 1 deletion django_q/__init__.py
@@ -1,4 +1,4 @@
VERSION = (1, 2, 2)
VERSION = (1, 2, 3)

default_app_config = 'django_q.apps.DjangoQConfig'

Expand Down
2 changes: 1 addition & 1 deletion docs/conf.py
Expand Up @@ -73,7 +73,7 @@
# 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.
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
@@ -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"
Expand Down
2 changes: 2 additions & 0 deletions setup.cfg
@@ -0,0 +1,2 @@
[bdist_wheel]
universal=0
69 changes: 69 additions & 0 deletions setup.py
@@ -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"],
}
)

0 comments on commit 56982bd

Please sign in to comment.