import glob
import os
import re
import shutil
from setuptools import setup, Extension

# Work from directory containing setup.py
os.chdir(os.path.abspath(os.path.dirname(__file__)))

# Get version number
with open("version.txt") as f:
    version = f.read().strip()

ext = [
    Extension(
        "coho.__init__",
        define_macros=[("VERSION", '"{}"'.format(version))],
        include_dirs=["src"],
        sources=["coho/__init__.c"],
    ),
    Extension(
        "coho.smiles",
        include_dirs=["src"],
        sources=["coho/smiles.c", "src/smiles.c", "src/compat.c"],
    ),
]

setup(
    name="coho",
    version=version,
    packages=["coho"],
    ext_modules=ext,
    author="Ben Cornett",
    author_email="ben@lantern.is",
    description="SMILES parser",
    license="ISC",
    package_data={"coho": ["py.typed", "*.pyi"]},
    keywords="smiles opensmiles cheminformatics",
    python_requires=">= 3.4",
    url="https://github.com/cornett/coho",
    include_package_data=True,
)

@@ -994,10 +994,774 @@
 a=True,%0A
+    classifiers=%5B%0A        %22Intended Audience :: Developers%22,%0A        %22Intended Audience :: Science/Research%22,%0A        %22License :: OSI Approved :: ISC License (ISCL)%22,%0A        %22Operating System :: MacOS%22,%0A        %22Operating System :: POSIX :: BSD%22,%0A        %22Operating System :: POSIX :: Linux%22,%0A        %22Programming Language :: C%22,%0A        %22Programming Language :: Python :: 3.4%22,%0A        %22Programming Language :: Python :: 3.5%22,%0A        %22Programming Language :: Python :: 3.6%22,%0A        %22Programming Language :: Python :: 3.7%22,%0A        %22Programming Language :: Python :: Implementation :: CPython%22,%0A        %22Topic :: Scientific/Engineering :: Bio-Informatics%22,%0A        %22Topic :: Scientific/Engineering :: Chemistry%22,%0A        %22Topic :: Software Development%22,%0A    %5D,%0A
 )%0A

Add pypi classifiers