Skip to content

schakrava/pygradle

This branch is 321 commits behind linkedin/pygradle:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

circleciubuntu
circleci
and
ubuntu
Oct 12, 2017
9055d7e · Oct 12, 2017
Sep 21, 2016
Aug 18, 2016
Aug 2, 2017
May 2, 2017
Feb 27, 2017
Oct 12, 2017
Sep 13, 2017
Jun 21, 2016
Feb 9, 2017
Aug 25, 2016
Jun 21, 2016
Jun 21, 2016
Aug 2, 2017
Jan 26, 2017
Feb 12, 2017
Dec 20, 2016
Jun 13, 2016
Feb 27, 2017
Feb 27, 2017
Aug 5, 2016
Oct 12, 2017

Repository files navigation

PyGradle

CircleCI AppVeyor Bintray Linkedin license

PyGradle is an enterprise Python build system.

PyGradle leverages Gradle to empower Python's existing ecosystem to solve problems like dependency management, polyglot projects, and lots more. LinkedIn has been using PyGradle for several years to successfully manage thousands of Python dependencies.

PyGradle produces artifacts, e.g., source distributions, that are forward and backward compatible with artifacts produced by vanilla setuptools, so there is nothing stopping you from using PyGradle with one, two, or all of your Python projects right away!

As a general philosophy, we strive to enhance Python rather than replace it, thereby keeping open source Python development idiomatic and intuitive.

Usage

PyGradle does not include batteries: there are a few things that you're going to have to do to use PyGradle for things beyond our provided examples.

In particular, you're going to have to:

  • Decide how you want to host your artifacts.
  • Decide how you want to distribute a custom setuptools distribution class.
  • Author your build.gradle file.

These decisions and tasks shouldn't take too long for you finish, but they are required. A deeper dive into what it takes to get started, how you can use our demonstrative Artifactory instance, and a few project examples is available in our detailed getting started guide.

Although not required, if you've never used Gradle before, you might find reading Gradle's user guide helpful.

Plugins

PyGradle comes with several plugins available, for specific details on each plugin check the documentation specific to that plugin.

Plugin Usage
com.linkedin.python Extending PyGradle
com.linkedin.python-sdist Developing Source Distributions
com.linkedin.python-web-app Developing Flask/Gunicorn Web Applications
com.linkedin.python-cli Developing Command Line Applications
com.linkedin.python-flyer Developing Flyer (Flask + Ember) Applications
com.linkedin.python-pex Developing Pex Applications

Developers

We're actively maintaining PyGradle and accepting pull requests.

If you're interested in contributing code to PyGradle, please see our developers document to get started. This document covers how to build, test, and debug PyGradle, and kindly asks that you follow a few conventions when submitting pull requests.

Compatibility

Software

We support PyGradle on the following software versions.

Software Version
Java 7.0
Gradle 3.0

We're happy to review and merge pull requests that add additional support to future versions of software.

Platforms

PyGradle works on the following platforms.

Platform Support
Linux Full
OS X Full
Windows Partial

Additional compatibility notes are availabe here. We're happy to review and merge pull requests that add support for additional platforms.

About

Using Gradle to build Python projects

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Groovy 63.0%
  • Java 32.6%
  • Python 4.2%
  • Other 0.2%