Tool is to create egg for python or zip file for pyspark of all the dependencies for your project.
We require following tools to run the project:
- Python
- Make
Clone the repository
git clone git@github.com:bhavintandel/py-packager.git
cd py-packager
Add your required package under requirements.txt. For ex.,
Geocoder
xlrd
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.
make bdist_egg
make build_zip
make build
The above commands will generate your package files under dist folder.