Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: use pyproject.toml #297

Draft
wants to merge 3 commits into
base: develop
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 0 additions & 18 deletions MANIFEST.in

This file was deleted.

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -175,4 +175,4 @@ You can self host the module by following [Frappe Bench Installation Instruction

## License

GNU GPL V3. See [license.txt](https://github.com/frappe/agriculture/blob/develop/license.txt) for more information.
gpl-3.0
59 changes: 58 additions & 1 deletion education/hooks.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,24 @@
app_icon = "octicon octicon-file-directory"
app_color = "grey"
app_email = "[email protected]"
app_license = "GNU GPL V3"
app_license = "gpl-3.0"

# Apps
# ------------------

required_apps = ["erpnext"]

# Each item in the list will be shown as an app in the apps page
add_to_apps_screen = [
{
"name": "education",
"logo": "/assets/education/images/education_logo.svg",
"title": "Education",
"route": "/app/education",
# "has_permission": "education.api.permission.has_app_permission"
}
]

# Includes in <head>
# ------------------

Expand Down Expand Up @@ -120,6 +134,11 @@
# doctype_tree_js = {"doctype" : "public/js/doctype_tree.js"}
# doctype_calendar_js = {"doctype" : "public/js/doctype_calendar.js"}

# Svg Icons
# ------------------
# include app icons in desk
# app_include_icons = "education/public/icons.svg"

# Home Pages
# ----------

Expand Down Expand Up @@ -158,6 +177,22 @@
# before_uninstall = "education.uninstall.before_uninstall"
# after_uninstall = "education.uninstall.after_uninstall"

# Integration Setup
# ------------------
# To set up dependencies/integrations with other apps
# Name of the app being installed is passed as an argument

# before_app_install = "education.utils.before_app_install"
# after_app_install = "education.utils.after_app_install"

# Integration Cleanup
# -------------------
# To clean up dependencies/integrations with other apps
# Name of the app being uninstalled is passed as an argument

# before_app_uninstall = "education.utils.before_app_uninstall"
# after_app_uninstall = "education.utils.after_app_uninstall"

# Desk Notifications
# ------------------
# See frappe.core.notifications.get_notification_config
Expand Down Expand Up @@ -242,6 +277,20 @@
#
# auto_cancel_exempted_doctypes = ["Auto Repeat"]

# Ignore links to specified DocTypes when deleting documents
# -----------------------------------------------------------

# ignore_links_on_delete = ["Communication", "ToDo"]

# Request Events
# ----------------
# before_request = ["education.utils.before_request"]
# after_request = ["education.utils.after_request"]

# Job Events
# ----------
# before_job = ["education.utils.before_job"]
# after_job = ["education.utils.after_job"]

# User Data Protection
# --------------------
Expand Down Expand Up @@ -281,3 +330,11 @@
# Recommended only for DocTypes which have limited documents with untranslated names
# For example: Role, Gender, etc.
# translated_search_doctypes = []

# Automatically update python controller files with type annotations for this app.
# export_python_type_annotations = True

# default_log_clearing_doctypes = {
# "Logging DocType Name": 30 # days to retain logs
# }

12 changes: 12 additions & 0 deletions education/public/images/education_logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading