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

Commit

Permalink
Merge pull request #27 from nhsuk/CV-1119
Browse files Browse the repository at this point in the history
Cv 1119
  • Loading branch information
Ross-Clark authored Aug 11, 2023
2 parents ccade11 + be80ac4 commit 150bfac
Show file tree
Hide file tree
Showing 4 changed files with 38 additions and 46 deletions.
44 changes: 0 additions & 44 deletions pyproject.toml

This file was deleted.

36 changes: 36 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
from os import path
from setuptools import find_packages, setup
from wagtailreacttaxonomy import __VERSION__

this_directory = path.abspath(path.dirname(__file__))
with open(path.join(this_directory, 'README.md'), encoding='utf-8') as f:
long_description = f.read()

setup(
name='wagtail-reacttaxonomy',
version=__VERSION__,
packages=find_packages(),
include_package_data=True,
license='MIT',
url='https://github.com/nhsuk/wagtail-reacttaxonomy',
description='Add React Taxonomy component to a wagtail page and store it as a json in the db',
long_description=long_description,
long_description_content_type='text/markdown',
author='Yohan Lebret',
author_email='[email protected]',
classifiers=[
'Environment :: Web Environment',
'Framework :: Django',
'Framework :: Django :: 4.0',
'Framework :: Wagtail',
'Framework :: Wagtail :: 3.0.3',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Topic :: Internet :: WWW/HTTP',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
],
)
2 changes: 1 addition & 1 deletion test_page/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,4 +67,4 @@ class TaxTestPage(Page, TaxonomyMixin):
ObjectList(taxonomy_term_panels, heading='Taxonomy'),
])

pre_save.connect(format_permissions_json, sender=TestModel)
pre_save.connect(format_permissions_json, sender=TestModel)
2 changes: 1 addition & 1 deletion wagtailreacttaxonomy/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__VERSION__ = '0.1'
__VERSION__ = '0.00.01'

0 comments on commit 150bfac

Please sign in to comment.