Skip to content

Commit de4940b

Browse files
committed
Add license and prep for publish
1 parent 228a942 commit de4940b

File tree

4 files changed

+37
-9
lines changed

4 files changed

+37
-9
lines changed

LICENSE

+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
Copyright (c) Jake Howard and individual contributors.
2+
All rights reserved.
3+
4+
Redistribution and use in source and binary forms, with or without modification,
5+
are permitted provided that the following conditions are met:
6+
7+
1. Redistributions of source code must retain the above copyright notice,
8+
this list of conditions and the following disclaimer.
9+
10+
2. Redistributions in binary form must reproduce the above copyright
11+
notice, this list of conditions and the following disclaimer in the
12+
documentation and/or other materials provided with the distribution.
13+
14+
3. Neither the name of the copyright holder nor the names of its
15+
contributors may be used to endorse or promote products derived from
16+
this software without specific prior written permission.
17+
18+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
19+
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
20+
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
21+
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
22+
ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
23+
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
24+
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
25+
ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
26+
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
27+
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
# Django Tasks
22

3-
[![CI](https://github.com/RealOrangeOne/django-core-tasks/actions/workflows/ci.yml/badge.svg)](https://github.com/RealOrangeOne/django-core-tasks/actions/workflows/ci.yml)![PyPI](https://img.shields.io/pypi/v/django-tasks.svg)
3+
[![CI](https://github.com/RealOrangeOne/django-tasks/actions/workflows/ci.yml/badge.svg)](https://github.com/RealOrangeOne/django-tasks/actions/workflows/ci.yml)![PyPI](https://img.shields.io/pypi/v/django-tasks.svg)
44
![PyPI - Python Version](https://img.shields.io/pypi/pyversions/django-tasks.svg)
55
![PyPI - Status](https://img.shields.io/pypi/status/django-tasks.svg)
66
![PyPI - License](https://img.shields.io/pypi/l/django-tasks.svg)
77

8-
A basic reference implementation of background workers and tasks in Django, intended to go along with [DEP 0014](https://github.com/django/deps/pull/86).
8+
A reference implementation and backport of background workers and tasks in Django, as defined in [DEP 0014](https://github.com/django/deps/pull/86).
99

1010
**Warning**: This code is not intended to be installed, let alone deployed to production!
1111

@@ -17,7 +17,7 @@ pip install django-tasks
1717

1818
## Usage
1919

20-
**Note**: This documentation is still work-in-progress. Further details can also be found on the [DEP](https://github.com/django/deps/pull/86).
20+
**Note**: This documentation is still work-in-progress. Further details can also be found on the [DEP](https://github.com/django/deps/pull/86). [The tests](./tests/tests/) are also a good exhaustive reference.
2121

2222
### Settings
2323

django_tasks/py.typed

Whitespace-only changes.

pyproject.toml

+7-6
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,17 @@ requires = [
55
]
66

77
[project]
8-
name = "django-core-tasks"
9-
description = "Background Workers for Django"
8+
name = "django-tasks"
9+
description = "A reference implementation and backport of background workers and tasks in Django"
1010
authors = [
1111
{name = "Jake Howard"},
1212
]
1313
version = "0.0.0"
1414
readme = "README.md"
15+
license = {file = "LICENSE"}
1516
classifiers = [
1617
"Development Status :: 1 - Planning",
18+
"License :: OSI Approved :: BSD License",
1719
"Programming Language :: Python :: 3",
1820
"Programming Language :: Python :: 3.8",
1921
"Programming Language :: Python :: 3.9",
@@ -33,16 +35,15 @@ classifiers = [
3335
"Typing :: Typed"
3436
]
3537
requires-python = ">=3.8"
36-
3738
dependencies = [
3839
"Django>=4.2",
3940
"typing_extensions"
4041
]
4142

4243
[project.urls]
43-
Source = "https://github.com/RealOrangeOne/django-core-tasks"
44-
Issues = "https://github.com/RealOrangeOne/django-core-tasks/issues"
45-
Changelog = "https://github.com/RealOrangeOne/django-core-tasks/releases"
44+
Source = "https://github.com/RealOrangeOne/django-tasks"
45+
Issues = "https://github.com/RealOrangeOne/django-tasks/issues"
46+
Changelog = "https://github.com/RealOrangeOne/django-tasks/releases"
4647

4748
[project.optional-dependencies]
4849
dev = [

0 commit comments

Comments
 (0)