original_docstring:  Creates the project directory for compiled modules. 
docstring: Creates the project directory for compiled modules.
docstring_tokens: Creates the project directory for compiled modules .
code: def make_dir(project, gen_init_py=True):
      """ Creates the project directory for compiled modules. """
      project_path = os.path.join(os.path.dirname(__file__), project)
      # Delete the directory and the files inside it
      if os.path.exists(project_path):
          shutil.rmtree(project_path)
      # Create the directory
      os.mkdir(project_path)
      # We need a __init__.py file inside the directory
      if gen_init_py:
          with open(os.path.join(project_path, '__init__.py'), 'w') as fp:
              fp.write('__version__ = "' + str(get_property('__author__', 'geomdl')) + '"\n')
              fp.write('__version__ = "' + str(get_property('__version__', 'geomdl')) + '"\n')
              fp.write('__license__ = "MIT"\n')
code_tokens: def make_dir ( project , gen_init_py = True ) : project_path = os . path . join ( os . path . dirname ( __file__ ) , project ) if os . path . exists ( project_path ) : shutil . rmtree ( project_path ) os . mkdir ( project_path ) if gen_init_py : with open ( os . path . join ( project_path , '__init__.py' ) , 'w' ) as fp : fp . write ( '__version__ = "' + str ( get_property ( '__author__' , 'geomdl' ) ) + '"\n' ) fp . write ( '__version__ = "' + str ( get_property ( '__version__' , 'geomdl' ) ) + '"\n' ) fp . write ( '__license__ = "MIT"\n' )
short_docstring: Creates the project directory for compiled modules.
short_docstring_tokens: Creates the project directory for compiled modules .
comment: """ Creates the project directory for compiled modules. """$SEP$# Delete the directory and the files inside it$SEP$# Create the directory$SEP$# We need a __init__.py file inside the directory