forked from Bogdanp/django_dramatiq
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
64 lines (57 loc) · 1.71 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
import os
from setuptools import setup
def rel(*xs):
return os.path.join(os.path.abspath(os.path.dirname(__file__)), *xs)
with open(rel("django_dramatiq", "__init__.py"), "r") as f:
version_marker = "__version__ = "
for line in f:
if line.startswith(version_marker):
_, version = line.split(version_marker)
version = version.strip().strip('"')
break
else:
raise RuntimeError("Version marker not found.")
setup(
name="django_dramatiq",
version=version,
description="A Django app for Dramatiq.",
long_description="Visit https://github.com/Bogdanp/django_dramatiq for more information.",
packages=[
"django_dramatiq",
"django_dramatiq.management",
"django_dramatiq.management.commands",
"django_dramatiq.migrations",
],
install_requires=[
"django>=1.11",
"dramatiq>=0.18.0",
],
classifiers=[
'Environment :: Web Environment',
'Operating System :: OS Independent',
'Framework :: Django',
'Framework :: Django :: 1.11',
'Framework :: Django :: 2.0',
'Framework :: Django :: 2.1',
'Framework :: Django :: 2.2',
'Programming Language :: Python',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
],
extras_require={
"dev": [
"bumpversion",
"flake8",
"flake8-quotes",
"isort",
"pytest",
"pytest-cov",
"pytest-django",
"tox",
"twine",
]
},
python_requires=">=3.5",
include_package_data=True,
)