Beispiel #1
0
def setup_package():
    setupinfo.set_version(version)

    setupinfo.write_version_py()

    setup(
        name=name,
        version=setupinfo.get_version(),
        description=description,
        long_description=long_description,
        url=url,
        author=author,
        author_email=author_email,
        keywords=keywords.strip(),
        license=license,
        packages=find_packages(),
        ext_modules=setupinfo.get_extensions(),
        install_requires=setupinfo.get_install_requirements(),
        tests_require=setupinfo.get_test_requirements(),
        test_suite="pyamf.tests.get_suite",
        zip_safe=False,
        extras_require=setupinfo.get_extras_require(),
        classifiers=(
            filter(None, classifiers.strip().split('\n')) +
            setupinfo.get_trove_classifiers()
        ),
        **setupinfo.extra_setup_args())
Beispiel #2
0
def setup_package():
    setupinfo.set_version(version)

    setupinfo.write_version_py()

    setup(name=name,
          version=setupinfo.get_version(),
          description=description,
          long_description=long_description,
          url=url,
          author=author,
          author_email=author_email,
          keywords=keywords.strip(),
          license=license,
          packages=find_packages(),
          ext_modules=setupinfo.get_extensions(),
          install_requires=setupinfo.get_install_requirements(),
          tests_require=setupinfo.get_test_requirements(),
          test_suite="pyamf.tests.get_suite",
          zip_safe=False,
          extras_require=setupinfo.get_extras_require(),
          classifiers=(filter(None,
                              classifiers.strip().split('\n')) +
                       setupinfo.get_trove_classifiers()),
          **setupinfo.extra_setup_args())