<s> """<STR_LIT>""" <EOL> from __future__ import print_function <EOL> import os <EOL> import sys <EOL> import setuptools <EOL> from setuptools . command . sdist import sdist as sdist_orig <EOL> PROBLEMATIC_COMMANDS = '<STR_LIT>' , '<STR_LIT>' , '<STR_LIT>' , '<STR_LIT>' <EOL> if not os . path . isdir ( '<STR_LIT>' ) : <EOL> print ( __doc__ ) <EOL> if any ( c in sys . argv for c in PROBLEMATIC_COMMANDS ) : <EOL> sys . exit ( '<STR_LIT>' ) <EOL> def scm_config ( ) : <EOL> from setuptools_scm . version import ( <EOL> guess_next_dev_version , <EOL> get_local_node_and_date , <EOL> ) <EOL> return dict ( <EOL> version_scheme = guess_next_dev_version , <EOL> local_scheme = get_local_node_and_date , <EOL> ) <EOL> with open ( '<STR_LIT>' ) as fp : <EOL> long_description = fp . read ( ) <EOL> class sdist ( sdist_orig ) : <EOL> def make_release_tree ( self , base_dir , files ) : <EOL> sdist_orig . make_release_tree ( self , base_dir , files ) <EOL> target = os . path . join ( base_dir , '<STR_LIT>' ) <EOL> with open ( __file__ ) as fp : <EOL> template = fp . read ( ) <EOL> ver = self . distribution . version <EOL> if not ver : <EOL> from setuptools_scm import get_version <EOL> ver = get_version ( ** scm_config ( ) ) <EOL> finalized = template . replace ( <EOL> '<STR_LIT>' , <EOL> '<STR_LIT>' % ver ) <EOL> os . remove ( target ) <EOL> with open ( target , '<STR_LIT:w>' ) as fp : <EOL> fp . write ( finalized ) <EOL> arguments = dict ( <EOL> name = '<STR_LIT>' , <EOL> url = '<STR_LIT>' , <EOL> zip_safe = True , <EOL> use_scm_version = scm_config , <EOL> author = '<STR_LIT>' , <EOL> author_email = '<STR_LIT>' , <EOL> description = ( '<STR_LIT>' ) , <EOL> long_description = long_description , <EOL> license = '<STR_LIT>' , <EOL> packages = [ <EOL> '<STR_LIT>' , <EOL> ] , <EOL> entry_points = """<STR_LIT>""" , <EOL> classifiers = [ <EOL> '<STR_LIT>' , <EOL> '<STR_LIT>' , <EOL> '<STR_LIT>' , <EOL> '<STR_LIT>' , <EOL> '<STR_LIT>' , <EOL> '<STR_LIT>' , <EOL> '<STR_LIT>' , <EOL> '<STR_LIT>' , <EOL> '<STR_LIT>' , <EOL> '<STR_LIT>' , <EOL> '<STR_LIT>' , <EOL> ] , <EOL> cmdclass = { '<STR_LIT>' : sdist } <EOL> ) <EOL> if __name__ == '<STR_LIT:__main__>' : <EOL> setuptools . setup ( ** arguments ) </s>
