Skip to content

Commit

Permalink
setup config for PyPi
Browse files Browse the repository at this point in the history
  • Loading branch information
lpm0073 committed Mar 30, 2023
1 parent 13a3ce9 commit 5e444c4
Showing 1 changed file with 57 additions and 0 deletions.
57 changes: 57 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,60 @@ exclude = '''
| dist
)/
'''

[build-system]
requires = ["setuptools", "wheel"]
build-backend = "setuptools.build_meta:__legacy__"

#------------------------------------------------------------------------------
# PyPi meta data
#------------------------------------------------------------------------------
[project]
name = "openedx-plugin-example"
version = "0.1.1"
authors = [
{ name="Lawrence McDaniel", email="lpm0073@gmail.com" }
]
description = "A Django plugin to enhance feature set of base Open edX platform"
readme = "README.md"
requires-python = ">=3.8"
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
]
dependencies = [
"Django>=3.2,<=3.3",
"validators",
"django-environ"
]

keywords = ["Python", "Django", "Open edX", "Plugin", "REST API"]

[project.urls]
Homepage = "https://github.com/cookiecutter-openedx/openedx-plugin-example"
"Bug Tracker" = "https://github.com/cookiecutter-openedx/openedx-plugin-example/issues"
Repository = "https://github.com/cookiecutter-openedx/openedx-plugin-example"

#------------------------------------------------------------------------------
# see: https://setuptools.pypa.io/en/latest/userguide/dependency_management.html
#------------------------------------------------------------------------------
[project.optional-dependencies]
local = [
"pre-commit",
"black",
"flake8",
"ipython"
]

#------------------------------------------------------------------------------
# see: https://setuptools.pypa.io/en/latest/userguide/entry_point.html
#------------------------------------------------------------------------------
[project.entry-points."lms.djangoapp"]
memberpress_client = "memberpress_client.apps:MemberPressPluginConfig"
openedx_plugin = "openedx_plugin.apps:CustomPluginConfig"
openedx_plugin_api = "openedx_plugin_api.apps:CustomPluginAPIConfig"
openedx_plugin_mobile_api = "openedx_plugin_mobile_api.apps:MobileApiConfig"

[project.entry-points."cms.djangoapp"]
openedx_plugin_cms = "openedx_plugin_cms.apps:CustomPluginCMSConfig"

0 comments on commit 5e444c4

Please sign in to comment.