Skip to content
Snippets Groups Projects
Commit 39e233e8 authored by Philip Elson's avatar Philip Elson :snake:
Browse files

Merge branch 'fix/dist-vs-package-name-confusion' into 'master'

Update the docs regarding entrypoints

See merge request !100
parents 64d1a07e b5f61466
No related branches found
No related tags found
1 merge request!100Update the docs regarding entrypoints
Pipeline #8187399 passed
......@@ -54,12 +54,12 @@ to specify a minimum and maximum version range such as ``[1.1,2.0)``.
With the variable in place, packages can be registered with
**cmmnbuild-dep-manager**. Registration is automatic if your package defines
an entry_point of the form
`"cmmnbuild_dep_manager": {package_name}=anything`.
For example, PyJapc might have an item in its setup.py such as:
`"cmmnbuild_dep_manager": {import_name}=anything`.
For example, `some-java-using-package` might have an item in its setup.py such as:
entry_points={
# Register with cmmnbuild_dep_manager.
'cmmnbuild_dep_manager': ['pyjapc=anything'],
'cmmnbuild_dep_manager': ['the_import_name=has_jar_requirements'],
},
Finally, from your code, you can start a JVM with the complete list of jars
......
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment