Skip to content
This repository was archived by the owner on Oct 2, 2024. It is now read-only.

Commit 150bfac

Browse files
authored
Merge pull request #27 from nhsuk/CV-1119
Cv 1119
2 parents ccade11 + be80ac4 commit 150bfac

File tree

4 files changed

+38
-46
lines changed

4 files changed

+38
-46
lines changed

pyproject.toml

Lines changed: 0 additions & 44 deletions
This file was deleted.

setup.py

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
from os import path
2+
from setuptools import find_packages, setup
3+
from wagtailreacttaxonomy import __VERSION__
4+
5+
this_directory = path.abspath(path.dirname(__file__))
6+
with open(path.join(this_directory, 'README.md'), encoding='utf-8') as f:
7+
long_description = f.read()
8+
9+
setup(
10+
name='wagtail-reacttaxonomy',
11+
version=__VERSION__,
12+
packages=find_packages(),
13+
include_package_data=True,
14+
license='MIT',
15+
url='https://github.com/nhsuk/wagtail-reacttaxonomy',
16+
description='Add React Taxonomy component to a wagtail page and store it as a json in the db',
17+
long_description=long_description,
18+
long_description_content_type='text/markdown',
19+
author='Yohan Lebret',
20+
author_email='yohan.lebret@gmail.com',
21+
classifiers=[
22+
'Environment :: Web Environment',
23+
'Framework :: Django',
24+
'Framework :: Django :: 4.0',
25+
'Framework :: Wagtail',
26+
'Framework :: Wagtail :: 3.0.3',
27+
'Intended Audience :: Developers',
28+
'License :: OSI Approved :: MIT License',
29+
'Operating System :: OS Independent',
30+
'Programming Language :: Python',
31+
'Programming Language :: Python :: 3.5',
32+
'Programming Language :: Python :: 3.6',
33+
'Topic :: Internet :: WWW/HTTP',
34+
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
35+
],
36+
)

test_page/models.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,4 +67,4 @@ class TaxTestPage(Page, TaxonomyMixin):
6767
ObjectList(taxonomy_term_panels, heading='Taxonomy'),
6868
])
6969

70-
pre_save.connect(format_permissions_json, sender=TestModel)
70+
pre_save.connect(format_permissions_json, sender=TestModel)

wagtailreacttaxonomy/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__VERSION__ = '0.1'
1+
__VERSION__ = '0.00.01'

0 commit comments

Comments
 (0)