initial project commit
This commit is contained in:
20
.gitignore
vendored
Normal file
20
.gitignore
vendored
Normal file
@@ -0,0 +1,20 @@
|
|||||||
|
*.swp
|
||||||
|
*.pyc
|
||||||
|
*.swo
|
||||||
|
*.python-version
|
||||||
|
*.coverage
|
||||||
|
|
||||||
|
*.egg-info/
|
||||||
|
|
||||||
|
.cache/
|
||||||
|
.idea/
|
||||||
|
.tox/
|
||||||
|
|
||||||
|
build/
|
||||||
|
dist/
|
||||||
|
tests/_sandbox/assets
|
||||||
|
htmlcov/
|
||||||
|
docs/_build
|
||||||
|
|
||||||
|
coverage.xml
|
||||||
|
db.sqlite3
|
3
MANIFEST.in
Normal file
3
MANIFEST.in
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
include README.rst
|
||||||
|
|
||||||
|
recursive-include src
|
4
README.rst
Normal file
4
README.rst
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
Wagtail personalisation module
|
||||||
|
==============================
|
||||||
|
|
||||||
|
WIP
|
9
setup.cfg
Normal file
9
setup.cfg
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
[tool:pytest]
|
||||||
|
DJANGO_SETTINGS_MODULE = tests._sandbox.settings
|
||||||
|
norecursedirs = .tox .git
|
||||||
|
django_find_project = true
|
||||||
|
|
||||||
|
[flake8]
|
||||||
|
ignore=E731
|
||||||
|
exclude=
|
||||||
|
src/**/migrations/*.py
|
33
setup.py
Normal file
33
setup.py
Normal file
@@ -0,0 +1,33 @@
|
|||||||
|
from setuptools import find_packages, setup
|
||||||
|
|
||||||
|
setup(
|
||||||
|
name='wagtail-personalisation',
|
||||||
|
version='0.1.0',
|
||||||
|
description='A Wagtail add-on for showing personalized content',
|
||||||
|
author='Lab Digital BV',
|
||||||
|
author_email='b.besemer@labdigital.nl',
|
||||||
|
url='http://labdigital.nl',
|
||||||
|
packages=find_packages('src'),
|
||||||
|
package_dir={'': 'src'},
|
||||||
|
include_package_data=True,
|
||||||
|
license='BSD',
|
||||||
|
long_description=open('README.rst').read(),
|
||||||
|
classifiers=[
|
||||||
|
'Development Status :: 2 - Pre-Alpha',
|
||||||
|
'Environment :: Web Environment',
|
||||||
|
'Intended Audience :: Developers',
|
||||||
|
'License :: OSI Approved :: BSD License',
|
||||||
|
'Operating System :: OS Independent',
|
||||||
|
'Programming Language :: Python',
|
||||||
|
'Programming Language :: Python :: 3.4',
|
||||||
|
'Programming Language :: Python :: 3.5',
|
||||||
|
'Framework :: Django',
|
||||||
|
'Framework :: Django :: 1.8',
|
||||||
|
'Framework :: Django :: 1.9',
|
||||||
|
'Framework :: Django :: 1.10',
|
||||||
|
'Topic :: Internet :: WWW/HTTP :: Site Management',
|
||||||
|
],
|
||||||
|
install_requires=[
|
||||||
|
'wagtail>=1.7',
|
||||||
|
]
|
||||||
|
)
|
0
src/personalisation/__init__.py
Normal file
0
src/personalisation/__init__.py
Normal file
7
src/personalisation/wagtail_hooks.py
Normal file
7
src/personalisation/wagtail_hooks.py
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
from django.conf import settings
|
||||||
|
from django.conf.urls import include, url
|
||||||
|
from django.core.urlresolvers import reverse
|
||||||
|
from wagtail.wagtailadmin import widgets
|
||||||
|
from wagtail.wagtailadmin.menu import MenuItem
|
||||||
|
from wagtail.wagtailcore import hooks
|
||||||
|
|
0
tests/__init__.py
Normal file
0
tests/__init__.py
Normal file
Reference in New Issue
Block a user