<s> from distutils . core import Command <EOL> from setuptools import setup <EOL> class TestCommand ( Command ) : <EOL> user_options = [ ] <EOL> def initialize_options ( self ) : <EOL> pass <EOL> def finalize_options ( self ) : <EOL> pass <EOL> def run ( self ) : <EOL> from django . conf import settings <EOL> settings . configure ( <EOL> DATABASES = { '<STR_LIT:default>' : { '<STR_LIT>' : '<STR_LIT>' , '<STR_LIT>' : '<STR_LIT>' } } , <EOL> INSTALLED_APPS = ( '<STR_LIT>' , ) <EOL> ) <EOL> from django . core . management import call_command <EOL> import django <EOL> if django . VERSION [ : <NUM_LIT:2> ] >= ( <NUM_LIT:1> , <NUM_LIT:7> ) : <EOL> django . setup ( ) <EOL> call_command ( '<STR_LIT:test>' , '<STR_LIT>' ) <EOL> setup ( <EOL> name = '<STR_LIT>' , <EOL> version = '<STR_LIT>' , <EOL> packages = [ '<STR_LIT>' ] , <EOL> license = '<STR_LIT>' , <EOL> author = '<STR_LIT>' , <EOL> author_email = '<STR_LIT>' , <EOL> url = '<STR_LIT>' , <EOL> description = '<STR_LIT>' , <EOL> long_description = open ( "<STR_LIT>" ) . read ( ) , <EOL> install_requires = [ '<STR_LIT>' ] , <EOL> tests_require = [ '<STR_LIT>' ] , <EOL> cmdclass = { '<STR_LIT:test>' : TestCommand } , <EOL> classifiers = [ <EOL> '<STR_LIT>' , <EOL> '<STR_LIT>' , <EOL> '<STR_LIT>' , <EOL> '<STR_LIT>' , <EOL> '<STR_LIT>' , <EOL> '<STR_LIT>' , <EOL> '<STR_LIT>' , <EOL> '<STR_LIT>' , <EOL> '<STR_LIT>' , <EOL> '<STR_LIT>' , <EOL> ] , <EOL> ) </s>
