old_contents: #!/usr/bin/env python
  # pylint: disable=missing-docstring
  
  """Main setup script."""
  
  import ast
  from os import path
  from setuptools import setup, find_packages
  
  VERSION = "1.2.2"
  DESCRIPTION = "Twitter Toolbox for Python"
  AUTHOR = "Hugo Hromic"
  AUTHOR_EMAIL = "hhromic@gmail.com"
  URL = "https://github.com/hhromic/python-twitter-toolbox"
  
  def read_long_description():
      with open("README.rst") as reader:
          return reader.read()
  
  def generate_console_scripts():
      with open(path.join("twtoolbox", "cli.py")) as reader:
          cli_tree = ast.parse(reader.read())
      return ["%s = twtoolbox.cli:%s" % (fn.name.replace("_", "-"), fn.name)
              for fn in cli_tree.body if isinstance(fn, ast.FunctionDef) and
              fn.name.startswith('tt_')]
  
  setup(
      name="twitter-toolbox", version=VERSION, description=DESCRIPTION,
      author=AUTHOR, author_email=AUTHOR_EMAIL,
      maintainer=AUTHOR, maintainer_email=AUTHOR_EMAIL,
      url=URL, download_url=URL + "/tarball/" + VERSION,
      requires=["tweepy", "colorlog"],
      install_requires=["tweepy", "colorlog"],
      provides=["twtoolbox"],
      keywords=["twitter", "api", "cli", "toolbox"],
      classifiers=["Environment :: Console"],
      license="Apache-2.0",
      platforms=["all"],
      long_description=read_long_description(),
      long_description_content_type="text/x-rst",
      packages=find_packages(),
      package_data={"twtoolbox": ["defaults.cfg"]},
      entry_points={"console_scripts": generate_console_scripts()},
  )
  
new_contents: #!/usr/bin/env python
  # pylint: disable=missing-docstring
  
  """Main setup script."""
  
  import ast
  from os import path
  from setuptools import setup, find_packages
  
  VERSION = "1.2.3"
  DESCRIPTION = "Twitter Toolbox for Python"
  AUTHOR = "Hugo Hromic"
  AUTHOR_EMAIL = "hhromic@gmail.com"
  URL = "https://github.com/hhromic/python-twitter-toolbox"
  
  def read_long_description():
      with open("README.rst") as reader:
          return reader.read()
  
  def generate_console_scripts():
      with open(path.join("twtoolbox", "cli.py")) as reader:
          cli_tree = ast.parse(reader.read())
      return ["%s = twtoolbox.cli:%s" % (fn.name.replace("_", "-"), fn.name)
              for fn in cli_tree.body if isinstance(fn, ast.FunctionDef) and
              fn.name.startswith('tt_')]
  
  setup(
      name="twitter-toolbox", version=VERSION, description=DESCRIPTION,
      author=AUTHOR, author_email=AUTHOR_EMAIL,
      maintainer=AUTHOR, maintainer_email=AUTHOR_EMAIL,
      url=URL, download_url=URL + "/tarball/" + VERSION,
      requires=["tweepy", "colorlog"],
      install_requires=["tweepy", "colorlog"],
      provides=["twtoolbox"],
      keywords=["twitter", "api", "cli", "toolbox"],
      classifiers=["Environment :: Console"],
      license="Apache-2.0",
      platforms=["all"],
      long_description=read_long_description(),
      long_description_content_type="text/x-rst",
      packages=find_packages(),
      package_data={"twtoolbox": ["defaults.cfg"]},
      entry_points={"console_scripts": generate_console_scripts()},
  )
  
subject: prepare for new version