-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
0.6.0: test and support django 4.2 and 5.0
- Loading branch information
Showing
15 changed files
with
146 additions
and
200 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
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,16 @@ | ||
version: 2 | ||
build: | ||
os: ubuntu-22.04 | ||
tools: | ||
python: "3.10" | ||
# You can also specify other tool versions: | ||
# nodejs: "16" | ||
|
||
# Build documentation in the docs/ directory with Sphinx | ||
sphinx: | ||
configuration: docs/conf.py | ||
|
||
# Dependencies required to build your docs | ||
python: | ||
install: | ||
- requirements: docs/requirements.txt |
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
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 @@ | ||
sphinx-book-theme |
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,6 @@ | ||
VERSION = (0, 6, 0) | ||
|
||
|
||
def get_version(limit=3): | ||
"""Return the version as a human-format string.""" | ||
return ".".join([str(i) for i in VERSION[:limit]]) |
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,21 +0,0 @@ | ||
""" | ||
Django migrations for django-front app | ||
This package does not contain South migrations. South migrations can be found | ||
in the ``south_migrations`` package. | ||
""" | ||
|
||
SOUTH_ERROR_MESSAGE = """\n | ||
For South support, customize the SOUTH_MIGRATION_MODULES setting like so: | ||
SOUTH_MIGRATION_MODULES = { | ||
'front': 'front.south_migrations', | ||
} | ||
""" | ||
|
||
# Ensure the user is not using Django 1.6 or below with South | ||
try: | ||
from django.db import migrations # noqa | ||
except ImportError: | ||
from django.core.exceptions import ImproperlyConfigured | ||
raise ImproperlyConfigured(SOUTH_ERROR_MESSAGE) | ||
This file was deleted.
Oops, something went wrong.
41 changes: 0 additions & 41 deletions
41
front/south_migrations/0002_auto__add_placeholderhistory.py
This file was deleted.
Oops, something went wrong.
Empty file.
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 |
---|---|---|
|
@@ -5,7 +5,7 @@ | |
|
||
|
||
class Tox(test_command): | ||
user_options = [('tox-args=', 'a', "Arguments to pass to tox")] | ||
user_options = [("tox-args=", "a", "Arguments to pass to tox")] | ||
|
||
def initialize_options(self): | ||
test_command.initialize_options(self) | ||
|
@@ -18,47 +18,48 @@ def finalize_options(self): | |
|
||
def run_tests(self): | ||
# import here, cause outside the eggs aren't loaded | ||
import tox | ||
import shlex | ||
|
||
import tox | ||
|
||
args = self.tox_args | ||
if args: | ||
args = shlex.split(self.tox_args) | ||
errno = tox.cmdline(args=args) | ||
sys.exit(errno) | ||
|
||
|
||
with open('README.rst') as readme: | ||
with open("README.rst") as readme: | ||
long_description = readme.read() | ||
|
||
setup( | ||
name='django-front', | ||
version='0.5.15', | ||
description='A Django application to allow of front-end editing', | ||
name="django-front", | ||
version=__import__("front").get_version(limit=3), | ||
description="A Django application to allow of front-end editing", | ||
long_description=long_description, | ||
author='Marco Bonetti', | ||
author_email='[email protected]', | ||
url='https://github.com/mbi/django-front', | ||
license='MIT', | ||
packages=find_packages(exclude=['test_project', 'test_project.*']), | ||
author="Marco Bonetti", | ||
author_email="[email protected]", | ||
url="https://github.com/mbi/django-front", | ||
license="MIT", | ||
packages=find_packages(exclude=["test_project", "test_project.*"]), | ||
classifiers=[ | ||
'Development Status :: 4 - Beta', | ||
'Environment :: Web Environment', | ||
'Intended Audience :: Developers', | ||
'License :: OSI Approved :: MIT License', | ||
'Operating System :: OS Independent', | ||
'Programming Language :: Python', | ||
'Framework :: Django', | ||
'Framework :: Django :: 2.2', | ||
'Framework :: Django :: 3.0', | ||
'Framework :: Django :: 3.1', | ||
'Programming Language :: Python :: 3.6', | ||
'Programming Language :: Python :: 3.7', | ||
'Programming Language :: Python :: 3.8', | ||
"Development Status :: 4 - Beta", | ||
"Environment :: Web Environment", | ||
"Intended Audience :: Developers", | ||
"License :: OSI Approved :: MIT License", | ||
"Operating System :: OS Independent", | ||
"Programming Language :: Python", | ||
"Framework :: Django", | ||
"Framework :: Django :: 4.2", | ||
"Framework :: Django :: 5.0", | ||
"Programming Language :: Python :: 3.9", | ||
"Programming Language :: Python :: 3.10", | ||
"Programming Language :: Python :: 3.11", | ||
"Programming Language :: Python :: 3.12", | ||
], | ||
include_package_data=True, | ||
zip_safe=False, | ||
install_requires=['django-classy-tags >= 1.0', 'Django >= 2.2', 'six'], | ||
tests_require=['tox'], | ||
cmdclass={'test': Tox}, | ||
install_requires=["django-classy-tags >= 1.0", "Django >= 4.2", "six"], | ||
tests_require=["tox~=4.11.4"], | ||
cmdclass={"test": Tox}, | ||
) |
Oops, something went wrong.