text: import logging
  import os
  
  from setuptools import find_packages, setup
  
  logger = logging.getLogger(__name__)
  
  # Get the base directory
  here = os.path.dirname(__file__)
  if not here:
      here = os.path.curdir
  here = os.path.abspath(here)
  
  try:
      readme = os.path.join(here, "README.md")
      long_description = open(readme, "r").read()
  except IOError:
      logger.warning("README file not found or unreadable.")
      long_description = "See https://github.com/brunns/brunns-row/"
  
  setup(
      name="brunns-row",
      zip_safe=False,
      version="2.0.0",
      description="Convenience wrapper for DB API and csv.DictReader rows, and similar.",
      long_description=long_description,
      long_description_content_type="text/markdown",
      author="Simon Brunning",
      author_email="simon@brunningonline.net",
      url="https://brunns-row.readthedocs.io",
      packages=find_packages(where="src"),
      package_dir={"": "src"},
      package_data={"": ["README.md"]},
      include_package_data=True,
      classifiers=[
          "Development Status :: 5 - Production/Stable",
          "Intended Audience :: Developers",
          "License :: OSI Approved :: MIT License",
          "Operating System :: OS Independent",
          "Programming Language :: Python",
          "Programming Language :: Python :: 3",
          "Programming Language :: Python :: 3.6",
          "Programming Language :: Python :: 3.7",
          "Programming Language :: Python :: 3.8",
          "Programming Language :: Python :: 3.9",
          "Programming Language :: Python :: 3.10",
          "Programming Language :: Python :: Implementation :: PyPy",
          "Topic :: Software Development :: Testing",
      ],
      python_requires=">=3.6",
      install_requires=[],
  )
  