-
-
Notifications
You must be signed in to change notification settings - Fork 289
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding back sdist to fix issues with optional extras
- Loading branch information
Showing
6 changed files
with
83 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
VERSION = (1, 2, 2) | ||
VERSION = (1, 2, 3) | ||
|
||
default_app_config = 'django_q.apps.DjangoQConfig' | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
[bdist_wheel] | ||
universal=0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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"], | ||
} | ||
) |