I am working in an environment which has no sudo and internet access, therefore it is very useful to have a self contained application package that can be deployed anywhere.
Having used Maven to package my java projects into executable jar files, this was very useful in my situation.
However, I'm trying to achieve the same with python, possibly packaging all required dependencies into a zip/egg/wheel file so that this can be executed in any environment so long as they have python binary installed.
I've tried using python setup.py bdist_egg
, but this creates an egg file without my top level main.py and the modules that I'm using.
Would greatly appreciate any experience in such scenarios!