'testing': utils.get_test_requirements_from_tox_ini(TOPDIR), 'coding-style': [ 'flake8>=2.4,<3', 'pep8-naming>=0.2,<1', ], } EXTRAS_REQUIRE['everything'] = list( set(sum(EXTRAS_REQUIRE.values(), [])) - # All extras, but not... set(REQUIRES_FOR_PYTHON2_ONLY) # the Python 2 compatibility things ) if __name__ == '__main__': if 'register' in sys.argv or 'upload' in sys.argv: raise EnvironmentError('Registering and uploading is blacklisted') version = utils.get_version(VERSION, TOPDIR, VERSION_FILE) utils.write_version_to_file(version, VERSION_FILE) setuptools.setup( name=NAME, version=version, description=DESCRIPTION, long_description=utils.get_long_description(LONG_DESCRIPTION_FILE), url=URL, author=AUTHOR, author_email=AUTHOR_EMAIL, license=LICENSE, classifiers=CLASSIFIERS, install_requires=REQUIRES, tests_require=EXTRAS_REQUIRE['testing'], extras_require=EXTRAS_REQUIRE,
'coding-style': [ 'flake8>=2.4,<3', 'pep8-naming>=0.2,<1', ], } EXTRAS_REQUIRE['everything'] = list( set(sum(EXTRAS_REQUIRE.values(), [])) - # All extras, but not... set(REQUIRES_FOR_PYTHON2_ONLY) # the Python 2 compatibility things ) if __name__ == '__main__': if 'register' in sys.argv or 'upload' in sys.argv: raise EnvironmentError('Registering and uploading is blacklisted') version = utils.get_version(VERSION, TOPDIR, VERSION_FILE) utils.write_version_to_file(version, VERSION_FILE) setuptools.setup( name=NAME, version=version, description=DESCRIPTION, long_description=utils.get_long_description(LONG_DESCRIPTION_FILE), url=URL, author=AUTHOR, author_email=AUTHOR_EMAIL, license=LICENSE, classifiers=CLASSIFIERS, install_requires=REQUIRES, tests_require=EXTRAS_REQUIRE['testing'], extras_require=EXTRAS_REQUIRE,