description="A (new) cairo backend for Matplotlib.", long_description=open("README.rst", encoding="utf-8").read(), author="Antony Lee", url="https://github.com/matplotlib/mplcairo", license="MIT", classifiers=[ "Development Status :: 4 - Beta", "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", ], cmdclass={"build_ext": build_ext}, packages=find_packages("lib"), package_dir={"": "lib"}, ext_modules=[Extension("mplcairo._mplcairo", [])], python_requires=">=3.6", setup_requires=[ "importlib_metadata>=0.8; python_version<'3.8'", # Added files(). "setuptools_scm", "pybind11>=2.2.4", # Actually also a setup_requires on Linux, but in the manylinux build # we need to shim it. "pycairo>=1.16.0; sys_platform == 'darwin'", ], use_scm_version={ # xref __init__.py "version_scheme": "post-release", "local_scheme": "node-and-date", "write_to": "lib/mplcairo/_version.py", }, install_requires=[
name="mplcairo", description="A (new) cairo backend for Matplotlib.", long_description=open("README.rst", encoding="utf-8").read(), author="Antony Lee", url="https://github.com/matplotlib/mplcairo", license="MIT", classifiers=[ "Development Status :: 4 - Beta", "Framework :: Matplotlib", "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 3", ], cmdclass={"build_ext": build_ext}, packages=find_packages("lib"), package_dir={"": "lib"}, ext_modules=[Extension("", [])], python_requires=">=3.7", setup_requires=[ "setuptools_scm", "pybind11>=2.8.0", *(["pycairo>=1.16.0"] if not MANYLINUX else []), ], use_scm_version={ # xref __init__.py "version_scheme": "post-release", "local_scheme": "node-and-date", "write_to": "lib/mplcairo/_version.py", }, install_requires=[ "matplotlib>=2.2", "pillow", # Already a dependency of mpl>=3.3. "pycairo>=1.16.0; os_name == 'posix'",