bhavintandel / py-packager

Project to create dependencies package for python/pyspark project

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Py-Packager

Tool is to create egg for python or zip file for pyspark of all the dependencies for your project.

Requirements

We require following tools to run the project:

  • Python
  • Make

PreRequisite

Clone the repository

git clone git@github.com:bhavintandel/py-packager.git
cd py-packager

Update requirements.txt

Add your required package under requirements.txt. For ex.,

Geocoder
xlrd

Update project details

Update the version and project name under setup.py. For ex.,

VERSION = "0.1.0"
PACKAGE_NAME = "dependencies"

This will be used to generate your final files.

Generate the package

To build python egg file

make bdist_egg

To build python whl file

make bdist_wheel

To build pyspark zip file

make build_zip

To build all

make build

Output files

The above commands will generate your package files under dist folder.

About

Project to create dependencies package for python/pyspark project

License:MIT License


Languages

Language:Python 59.8%Language:Makefile 40.2%