Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

LinkedIn's {Py}Gradle Plugin Brings Build Automation to Python

DZone's Guide to

LinkedIn's {Py}Gradle Plugin Brings Build Automation to Python

A new open source tool from LinkedIn allows Python and Java shops to use the same build system.

· Java Zone
Free Resource

Get the Edge with a Professional Java IDE. 30-day free trial.

Yesterday, LinkedIn released their open source PyGradle plugin for running Python builds in the popular Gradle software build automation system. With PyGradle, Python and Java shops can all use the same build system. The plugin is accessible under an Apache 2 license.

Image title

LinkedIn is trying to use open source to gauge the community’s perspectives on what people want out of PyGradle. They are going to be accepting pull and feature requests. The plugin is currently in the0.3 release stage, with a 1.0 released planned in about two weeks.

Python is garnering favor from developers, businesses, and community by breaking the mold in which two parties prefer different languages for projects. LinkedIn has been a long standing Python user for a good few years.

LinkedIn is using PyGradle to augment Setuptools, the Python package management library that was previously found insufficient for LinkedIn’s needs. LinkedIn found Setuptools deficient in dependency management, integration with metadata systems, and polyglot builds, for multilingual builds. Still, a PyGradle project looks nearly identical to a Python project using Setuptools.

LinkedIn has been using PyGradle for about a year.

Stephen Holsapple, Lead Python Developer at LinkedIn, said:

During this time, we’ve successfully managed nearly a thousand products with tens to hundred of thousands of interdependencies, which prior to {py}gradle was an arduous process to manage. We find it easy to get Python developers up to speed with the {py}gradle build system by striving to keep the Gradle DSL that we use idiomatic to Python developers.

In the future releases, LinkedIn plans on further intregrations between Grandle and Python by adding support to the Wheels Package format and multiple versions of Python.

Get the Java IDE that understands code & makes developing enjoyable. Level up your code with IntelliJ IDEA. Download the free trial.

Topics:
python ,linkedin ,build automation ,gradle

Published at DZone with permission of Traven West, DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}