def pants_setup_py(name, description, additional_classifiers=None, **kwargs):
 if (not name.startswith(u'pantsbuild.pants')):
  raise ValueError(u"Pants distribution package names must start with 'pantsbuild.pants', given {}".format(name))
 standard_classifiers = [u'Intended Audience :: Developers', u'License :: OSI Approved :: Apache Software License', u'Operating System :: MacOS :: MacOS X', u'Operating System :: POSIX :: Linux', u'Programming Language :: Python', u'Topic :: Software Development :: Build Tools']
 classifiers = OrderedSet((standard_classifiers + (additional_classifiers or [])))
 notes = PantsReleases.global_instance().notes_for_version(PANTS_SEMVER)
 return PythonArtifact(name=name, version=VERSION, description=description, long_description=(_read_contents(u'src/python/pants/ABOUT.rst') + notes), url=u'https://github.com/pantsbuild/pants', license=u'Apache License, Version 2.0', zip_safe=True, classifiers=list(classifiers), **kwargs)

def pants_setup_py ( name , description , additional_classifiers = None , ** kwargs ) : if ( not name . startswith ( u'pantsbuild.pants' ) ) : raise ValueError ( u"Pants distribution package names must start with 'pantsbuild.pants', given {}" . format ( name ) ) standard_classifiers = [ u'Intended Audience :: Developers' , u'License :: OSI Approved :: Apache Software License' , u'Operating System :: MacOS :: MacOS X' , u'Operating System :: POSIX :: Linux' , u'Programming Language :: Python' , u'Topic :: Software Development :: Build Tools' ] classifiers = OrderedSet ( ( standard_classifiers + ( additional_classifiers or [ ] ) ) ) notes = PantsReleases . global_instance ( ) . notes_for_version ( PANTS_SEMVER ) return PythonArtifact ( name = name , version = VERSION , description = description , long_description = ( _read_contents ( u'src/python/pants/ABOUT.rst' ) + notes ) , url = u'https://github.com/pantsbuild/pants' , license = u'Apache License, Version 2.0' , zip_safe = True , classifiers = list ( classifiers ) , ** kwargs )
creates the setup_py for a pants artifact .