Re: Jython Slim Version?

Jeff Allen <[email protected]>
Newsgroups gmane.comp.lang.jython.devel
Message-ID <[email protected]>
I've noticed that the "project name" for the Gradle-built JAR cannot be 
"jython", because we already publish that (being the fat jar). I propose 
therefore to name it "jython-slim", in honour of this thread.

It's experimental anyway: I don't have much confidence it is correctly 
built. I could really do with writing an application with it as a 
dependency. (Or others doing so during beta.)

Jeff Allen

On 21/05/2019 04:45, Adam Burke wrote:
> Hi Raphail
>
> The dev team are working on a gradle build, one of the outputs of 
> which would be a slim jar as you describe.
>
> If you look on jython trunk, there is already an experimental 
> build.gradle there. You may be able to use that to build an 
> experimental jython-only jar.
>
> It's a complex part of the build, so if you know gradle well, I think 
> patches are also welcome.
>
> Cheers
> Adam
>
> On Tue, 21 May 2019 at 00:09, Raphail <[email protected] 
> <mailto:[email protected]>> wrote:
>
>     I have several hundreds of python scripts that had been running
>     with Jython
>     2.2.1 until now.
>     This version consumes so much less space in storage memory than
>     2.7, and
>     when I compared those 2, the first one also consumed less memory on my
>     server startup (about 8MB less). All in all, I don't want to
>     perform an
>     update that no matter how I look at it, has no benefits for my
>     application
>     (e.g. my project already contains libraries such as mysql
>     connector and
>     such) and I'm forced to either continue with 2.2.1 and its unknown
>     lifespan
>     or probably give up Jython and rewrite all my scripts to Java.
>
>     It would be really cool if there was a version that excluded all those
>     external libraries and such, and was more friendly in terms of
>     consuming
>     storage space.
>
>
>
>     --
>     Sent from: http://python.6.x6.nabble.com/jython-dev-f1778516.html
>
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.