Python setup.py file How does it work -


i have below setup.py file. wanted understand how works i.e. how goes building egg file when run "python setup.py bdist_egg". ask because reason "endpoints.json" file not getting copied egg file created finally. if second setup fails "endpoints.json" file available in egg. how execution flow setup.py?

setup.py file

from setuptools import setup, find_packages, extension  setup(   name='x-py-backend',   version='tip',   description='x python backend tools',   author='meme',   packages=find_packages('python'),   package_dir={'': 'python'},   data_files=[('boto', ['python/boto/endpoints.json'])],   namespace_packages = ['br'],   zip_safe=true, )  setup(   name='x-py-backend',   version='tip',   packages=find_packages('protobuf/target/python'),   package_dir={'': 'protobuf/target/python'},   namespace_packages = ['br'],   zip_safe=true, ) 


Comments

Popular posts from this blog

android - MPAndroidChart - How to add Annotations or images to the chart -

javascript - Add class to another page attribute using URL id - Jquery -

firefox - Where is 'webgl.osmesalib' parameter? -