From 451b340901c54be82f33cfd724b003dbc565d370 Mon Sep 17 00:00:00 2001 From: Johanan-Ayadata Date: Sat, 26 Oct 2024 11:12:42 +0000 Subject: [PATCH] making the backend into a package --- .gitignore | 2 +- pyproject.toml | 35 ++++++++++++++++++++++++++++++----- 2 files changed, 31 insertions(+), 6 deletions(-) diff --git a/.gitignore b/.gitignore index e8e82e22..75050cb5 100644 --- a/.gitignore +++ b/.gitignore @@ -21,7 +21,7 @@ __pycache__/ .Python build/ develop-eggs/ -#dist/ +dist/ downloads/ eggs/ .eggs/ diff --git a/pyproject.toml b/pyproject.toml index 68301737..33de40b4 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,13 +1,39 @@ [tool.poetry] name = "pycon-africa" version = "0.1.0" -description = "" -authors = [] +description = "Backend for the pycon africa website" readme = "README.md" -package-mode = false +package-mode = true +authors = [ + "Mannie Young ", +] + +keywords = ["event", "conference", "pycon", "africa", "backend"] +classifiers = [ + + 'Environment :: Web Environment', + 'Framework :: Django', + 'Intended Audience :: Developers', + "Topic :: Software Development :: Libraries :: Python Modules", + 'Operating System :: OS Independent', + 'Programming Language :: Python', + 'Programming Language :: Python :: 3', + 'Topic :: Internet :: WWW/HTTP', +] +packages = [{ include = "pyconafrica" }] + +exclude = [ +"templates/*", +"pyconafrica/*", +"pyconafrica2019/*", +"pycon2020/*", +"static/*", +"media/*", +"db.sqlite3" +] [tool.poetry.dependencies] -python = "3.11.*" +python = "^3.11" django = "^5.0.3" cloudinary = "^1.39.1" django-grappelli = "^3.0.8" @@ -38,7 +64,6 @@ django-hashid-field = "^3.4.0" django-next-prev = "^1.1.0" pytz = "^2024.1" - [build-system] requires = ["poetry-core"] build-backend = "poetry.core.masonry.api"