old_contents: from setuptools import setup
  
  try:
      import buildtools
  except ImportError:
      buildtools = None
  
  import startup
  
  
  if buildtools:
      cmdclass = {
          'bdist_zipapp': buildtools.make_bdist_zipapp(main_optional=True),
      }
  else:
      cmdclass = {}
  
  
  setup(
      name = 'startup',
      version = startup.__version__,
      description = 'A dependency graph resolver for program startup',
      long_description = startup.__doc__,
  
      author = startup.__author__,
      author_email = startup.__author_email__,
      license = startup.__license__,
      url = 'https://github.com/clchiou/startup',
  
      cmdclass = cmdclass,
  
      py_modules = ['startup'],
      test_suite = 'tests',
  
      platforms = '*',
      classifiers = [
          'Development Status :: 1 - Planning',
          'Intended Audience :: Developers',
          'License :: OSI Approved :: MIT License',
          'Operating System :: OS Independent',
          'Programming Language :: Python :: 3 :: Only',
          'Topic :: Software Development :: Libraries :: Python Modules',
      ],
  )
  
new_contents: from setuptools import setup
  
  try:
      from g1.devtools import buildtools
  except ImportError:
      buildtools = None
  
  import startup
  
  
  if buildtools:
      cmdclass = {
          'bdist_zipapp': buildtools.make_bdist_zipapp(main_optional=True),
      }
  else:
      cmdclass = {}
  
  
  setup(
      name = 'startup',
      version = startup.__version__,
      description = 'A dependency graph resolver for program startup',
      long_description = startup.__doc__,
  
      author = startup.__author__,
      author_email = startup.__author_email__,
      license = startup.__license__,
      url = 'https://github.com/clchiou/startup',
  
      cmdclass = cmdclass,
  
      py_modules = ['startup'],
      test_suite = 'tests',
  
      platforms = '*',
      classifiers = [
          'Development Status :: 1 - Planning',
          'Intended Audience :: Developers',
          'License :: OSI Approved :: MIT License',
          'Operating System :: OS Independent',
          'Programming Language :: Python :: 3 :: Only',
          'Topic :: Software Development :: Libraries :: Python Modules',
      ],
  )
  
subject: Switch to g1.devtools.buildtools