diff --git a/MANIFEST.in b/MANIFEST.in index aa032d0..aae6464 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -2,5 +2,6 @@ include License include README.rst recursive-include mail_editor/templates * recursive-include bin * +recursive-include testapp * global-exclude __pycache__ global-exclude *.py[co] diff --git a/pyproject.toml b/pyproject.toml index ea48b5f..b462e8f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta" [project] name = "mail_editor" -version = "0.3.6" +version = "0.3.7" description = "A Django package for email template editing" authors = [ {name = "Maykin Media", email = "support@maykinmedia.nl"} @@ -68,6 +68,7 @@ release = [ [tool.setuptools.packages.find] include = ["mail_editor*"] +exclude = ["tests", "testapp"] namespaces = false [tool.isort] @@ -82,7 +83,7 @@ testpaths = ["tests"] DJANGO_SETTINGS_MODULE = "testapp.settings" [tool.bumpversion] -current_version = "0.3.6" +current_version = "0.3.7" files = [ {filename = "pyproject.toml"}, {filename = "README.rst"}, diff --git a/testapp/settings.py b/testapp/settings.py index 5c5e648..3ffc6f6 100644 --- a/testapp/settings.py +++ b/testapp/settings.py @@ -12,7 +12,7 @@ "default": { # Memory resident database, for easy testing. "ENGINE": "django.db.backends.sqlite3", - "NAME": os.path.join(DJANGO_PROJECT_DIR, "mail_editor.db"), + "NAME": os.path.join(DJANGO_PROJECT_DIR, "..", "mail_editor.db"), } }