| 12345678910111213141516171819202122232425262728293031323334 | import osimport syssys.path.insert(0, os.path.abspath(    os.path.join(__file__, os.pardir, os.pardir)))from celery import VERSIONfrom bundle import Bundleseries = "{}.{}".format(*VERSION[:2])defaults = {"version": series,            "author": "Celery Project",            "author_email": "bundles@celeryproject.org",            "url": "http://celeryproject.org",            "license": "BSD"}bundles = [    Bundle("celery-with-redis",        "Bundle that installs the dependencies for Celery and Redis",        requires=["celery>=%s,<3.0" % (series, ), "redis>=2.4.4"],        **defaults),]def main():    for bundle in bundles:        bundle.bump_if_exists()        print(bundle.render_readme())if __name__ == "__main__":    main()
 |