<s> import os <EOL> from os import path <EOL> from setuptools import setup <EOL> from subprocess import check_call <EOL> from distutils . command . build import build <EOL> from distutils . dir_util import copy_tree , remove_tree <EOL> from setuptools . command . develop import develop <EOL> def get_submodules_and_fix_paths ( ) : <EOL> if path . exists ( '<STR_LIT>' ) : <EOL> check_call ( [ '<STR_LIT>' , '<STR_LIT>' , '<STR_LIT>' ] ) <EOL> check_call ( [ '<STR_LIT>' , '<STR_LIT>' , '<STR_LIT>' ] ) <EOL> check_call ( [ '<STR_LIT>' , '<STR_LIT>' , '<STR_LIT>' ] ) <EOL> check_call ( [ '<STR_LIT>' , '<STR_LIT>' , '<STR_LIT>' ] ) <EOL> check_call ( [ '<STR_LIT>' , '<STR_LIT>' , '<STR_LIT>' , '<STR_LIT>' , '<STR_LIT>' , '<STR_LIT>' , '<STR_LIT>' ] , shell = True ) <EOL> dst = "<STR_LIT>" <EOL> src = "<STR_LIT>" <EOL> copy_tree ( src , dst ) <EOL> remove_tree ( src ) <EOL> class build_with_submodules ( build ) : <EOL> def run ( self ) : <EOL> get_submodules_and_fix_paths ( ) <EOL> build . run ( self ) <EOL> class develop_with_submodules ( develop ) : <EOL> def run ( self ) : <EOL> get_submodules_and_fix_paths ( ) <EOL> develop . run ( self ) <EOL> setup ( <EOL> name = "<STR_LIT>" , <EOL> version = "<STR_LIT>" , <EOL> author = "<STR_LIT>" , <EOL> author_email = "<STR_LIT>" , <EOL> url = "<STR_LIT>" , <EOL> description = ( "<STR_LIT>" ) , <EOL> long_description = open ( '<STR_LIT>' ) . read ( ) , <EOL> packages = [ '<STR_LIT>' ] , <EOL> include_package_data = True , <EOL> install_requires = [ <EOL> "<STR_LIT>" , <EOL> ] , <EOL> classifiers = [ <EOL> '<STR_LIT>' , <EOL> '<STR_LIT>' , <EOL> '<STR_LIT>' , <EOL> '<STR_LIT>' , <EOL> '<STR_LIT>' , <EOL> '<STR_LIT>' , <EOL> '<STR_LIT>' , <EOL> ] , <EOL> license = '<STR_LIT>' , <EOL> cmdclass = { "<STR_LIT>" : build_with_submodules , "<STR_LIT>" : develop_with_submodules } , <EOL> ) </s>
