from setuptools import setup INTERNAL_PACKAGE='${PADDLE_INTERNAL_PACKAGE}' packages=['paddle', 'paddle.proto', 'paddle.trainer', 'paddle.trainer_config_helpers', 'paddle.utils'] if len(INTERNAL_PACKAGE) == 0: packages.append(INTERNAL_PACKAGE) setup(name='paddle', version='${PADDLE_VERSION}', description='Parallel Distributed Deep Learning', packages=packages, package_dir={ '': '${CMAKE_CURRENT_SOURCE_DIR}' } )