-
Notifications
You must be signed in to change notification settings - Fork 98
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: Apply Django's recommended app packaging guidelines.
- Loading branch information
Showing
6 changed files
with
125 additions
and
59 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,19 @@ | ||
Copyright (c) 2016-2020 | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
in the Software without restriction, including without limitation the rights | ||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the Software is | ||
furnished to do so, subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in all | ||
copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, | ||
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF | ||
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. | ||
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, | ||
DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR | ||
OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE | ||
OR OTHER DEALINGS IN THE SOFTWARE. |
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,3 @@ | ||
include LICENSE | ||
include README.md | ||
recursive-include docs * |
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,19 @@ | ||
# Changelog | ||
|
||
This changelog is used to track all major changes to django_apscheduler. | ||
|
||
## v0.4.0 (UNRELEASED) | ||
|
||
**Enhancements** | ||
|
||
- CI: drop coverage for Python 2.7 and Django <= 2.1, which are no longer maintained upstream. | ||
- CI: add coverage for Python 3.7 and 3.8, as well as Django long term support (LTS) and the latest released versions. | ||
- CI: un-pin dependency on agronholm/apscheduler#149, which has since been merged and released upstream. | ||
- Rename Django `test_settings.py` file to prevent collision with actual test scripts. | ||
- Clean up unused dependencies / update dependencies to latest available versions. | ||
- Switch to Black code formatting. | ||
- Align package layout with official [Django recommendations](https://docs.djangoproject.com/en/dev/intro/reusable-apps/#packaging-your-app) | ||
|
||
**Fixes** | ||
|
||
- Fix PEP8 code formatting violations. |
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,27 @@ | ||
# Release procedures | ||
|
||
Here we try to keep an up to date record of how new releases are made. This | ||
documentation serves both as a checklist, to reduce the project's dependency on | ||
key individuals, and as a stepping stone to more automation. | ||
|
||
## Creating releases | ||
|
||
1. Update changelog and commit it. | ||
|
||
2. Merge the release branch (``develop`` in the example) into master: | ||
|
||
git checkout master | ||
git merge --no-ff -m "Release v0.3.0" develop | ||
|
||
3. Tag the release: | ||
|
||
git tag -a -m "Release v0.3.0" v0.3.0 | ||
|
||
4. Push to GitHub: | ||
|
||
git push --follow-tags | ||
|
||
5. Merge ``master`` back into ``develop`` and push the branch to GitHub. | ||
|
||
6. Document the release on GitHub by clicking on the 'Releases' link on the landing page, | ||
and editing the tag that was just created. |
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,26 +1,39 @@ | ||
from setuptools import find_packages, setup | ||
from os import path | ||
|
||
here = path.abspath(path.dirname(__file__)) | ||
|
||
# Get the long description from the README file | ||
with open(path.join(here, "README.md"), encoding="utf-8") as f: | ||
long_description = f.read() | ||
|
||
setup( | ||
name="django-apscheduler", | ||
version="0.4.0", | ||
description="APScheduler for Django", | ||
long_description=long_description, | ||
long_description_content_type="text/markdown", | ||
url="http://github.com/jarekwg/django-apscheduler", | ||
author="Jarek Glowacki, Stas Kaledin", | ||
author_email="[email protected], [email protected]", | ||
license="MIT", | ||
classifiers=[ | ||
"Development Status :: 4 - Beta", | ||
"Environment :: Web Environment", | ||
"Framework :: Django", | ||
"Intended Audience :: Developers", | ||
"License :: OSI Approved :: MIT License", | ||
"Operating System :: OS Independent", | ||
"Programming Language :: Python", | ||
"Programming Language :: Python :: 3", | ||
"Programming Language :: Python :: 3 :: Only", | ||
"Programming Language :: Python :: 3.6", | ||
"Programming Language :: Python :: 3.7", | ||
"Programming Language :: Python :: 3.8", | ||
"Topic :: Software Development :: Libraries :: Python Modules", | ||
"Framework :: Django", | ||
"Topic :: Internet :: WWW/HTTP", | ||
"Topic :: Internet :: WWW/HTTP :: Dynamic Content", | ||
], | ||
keywords="django apscheduler django-apscheduler", | ||
url="http://github.com/jarekwg/django-apscheduler", | ||
author="Jarek Glowacki, Stas Kaledin", | ||
author_email="[email protected], [email protected]", | ||
license="MIT", | ||
packages=find_packages(exclude=("tests",)), | ||
install_requires=["django>=2.2", "apscheduler>=3.2",], | ||
zip_safe=False, | ||
|