Skip to content

Commit 3e8215e

Browse files
committed
Add a module-info file for the core module
1 parent f314ca7 commit 3e8215e

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
// Copyright (c)2025 Jython Developers.
2+
// Licensed to PSF under a contributor agreement.
3+
/**
4+
* The Jython core classes and API as a module.
5+
*
6+
* The intention for the core module (jython-core JAR) is that is
7+
* contain all that a developer would depend on to embed Jython or
8+
* write an extension module, mixing their own Java and Python code.
9+
* It will export several packages as API (and keep some packages to
10+
* itself).
11+
*/
12+
module org.python.core {
13+
14+
// For now, before any restructuring, we just export all the modules
15+
exports org.python.base;
16+
exports org.python.core;
17+
exports org.python.core.stringlib;
18+
exports org.python.modules;
19+
20+
// The intended structure is more like this
21+
// exports org.python.runtime;
22+
// exports org.python.support;
23+
24+
// We require SLF4 logging API and ASM
25+
requires transitive org.slf4j;
26+
requires org.objectweb.asm;
27+
requires org.objectweb.asm.tree;
28+
}

0 commit comments

Comments
 (0)