예제 #1
0
setup(
    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",
        "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=[
        "matplotlib>=2.2",
        "pillow",  # Already a dependency of mpl>=3.3.
        "pycairo>=1.16.0; os_name == 'posix'",
    ],
)
예제 #2
0
setup(
    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'",
    ],
)
예제 #3
0
파일: setup.py 프로젝트: hyanwong/mplcairo
setup(
    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/anntzer/mplcairo",
    license="MIT",
    classifiers=[
        "Development Status :: 4 - Beta",
        "License :: OSI Approved :: MIT License",
        "Programming Language :: Python :: 3.4",
        "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.4",
    setup_requires=["setuptools_scm"],
    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",
        "pycairo>=1.16.0; os_name == 'posix'",
    ]
    + (["pybind11>=2.2.4"] if BUILD_TYPE is BuildType.Default else []),
)
예제 #4
0

setup(
    name="mplcursors",
    description="Interactive data selection cursors for Matplotlib.",
    long_description=open("README.rst", encoding="utf-8").read(),
    author="Antony Lee",
    url="https://github.com/anntzer/mplcursors",
    license="MIT",
    classifiers=[
        "Development Status :: 4 - Beta",
        "License :: OSI Approved :: MIT License",
        "Programming Language :: Python :: 3.4",
        "Programming Language :: Python :: 3.5",
        "Programming Language :: Python :: 3.6",
    ],
    packages=find_packages("lib"),
    package_dir={"": "lib"},
    python_requires=">=3.4",
    setup_requires=["setuptools_scm"],
    use_scm_version=lambda: {  # xref __init__.py
        "version_scheme": "post-release",
        "local_scheme": "node-and-date",
        "write_to": "lib/mplcursors/_version.py",
    },
    install_requires=[
        "matplotlib>=2.1",
        "setuptools_scm",
    ],
)
예제 #5
0
setup(
    name="sphinx-redirectfrom",
    description="",
    long_description=open("README.rst", encoding="utf-8").read(),
    long_description_content_type="text/x-rst",
    author="Antony Lee",
    author_email="",
    url="",
    license="MIT",
    classifiers=[
        "Development Status :: 4 - Beta",
        "License :: OSI Approved :: MIT License",
        "Programming Language :: Python :: 3",
    ],
    cmdclass={},
    py_modules=[],
    packages=find_namespace_packages("lib"),
    package_dir={"": "lib"},
    package_data={},
    python_requires=">=3.8",
    setup_requires=["setuptools_scm>=3.3"],  # fallback_version support.
    use_scm_version=lambda: {
        "version_scheme": "post-release",
        "local_scheme": "node-and-date",
        "fallback_version": "0+unknown",
    },
    install_requires=[],
    entry_points={
        "console_scripts": [],
        "gui_scripts": [],
    },
)
예제 #6
0
파일: setup.py 프로젝트: anntzer/dlsym
setup(
    name="dlsym",
    description="",
    long_description=open("README.rst", encoding="utf-8").read(),
    long_description_content_type="text/x-rst",
    author="Antony Lee",
    author_email="",
    url="https://github.com/anntzer/dlsym",
    license="zlib",
    classifiers=[
        "Development Status :: 4 - Beta",
        "License :: OSI Approved :: zlib/libpng License",
        "Programming Language :: Python :: 3",
    ],
    cmdclass={},
    py_modules=[],
    packages=find_packages("lib"),
    package_dir={"": "lib"},
    package_data={},
    python_requires=">=3.5",
    setup_requires=[
        "pybind11>=2.6.0",
        "setuptools_scm>=3.3",  # fallback_version support.
    ],
    use_scm_version=lambda: {
        "version_scheme": "post-release",
        "local_scheme": "node-and-date",
        "fallback_version": "0+unknown",
    },
    install_requires=[],
    entry_points={
        "console_scripts": [],
        "gui_scripts": [],
    },
)
예제 #7
0
파일: setup.py 프로젝트: anntzer/clahe
                            cxx_std=11)


setup(
    name="clahe",
    description="Exact contrast-limited adaptive histogram equalization",
    long_description=open("README.rst", encoding="utf-8").read(),
    author="Antony Lee",
    url="https://github.com/anntzer/clahe",
    license="zlib",
    classifiers=[
        "Development Status :: 4 - Beta",
        "License :: OSI Approved :: zlib/libpng License",
        "Programming Language :: Python :: 3",
    ],
    packages=find_namespace_packages("lib"),
    package_dir={"": "lib"},
    python_requires=">=3",
    setup_requires=[
        "pybind11>=2.6",
        "setuptools_scm>=3.3",  # fallback_version support.
    ],
    use_scm_version={
        "version_scheme": "post-release",
        "local_scheme": "node-and-date",
        "fallback_version": "0+unknown",
    },
    install_requires=[
        "numpy",
    ])
예제 #8
0
        ["freetype2"],
    )


setup(
    name="freetypybind",
    description="",
    long_description=open("README.rst", encoding="utf-8").read(),
    author="Antony Lee",
    author_email="",
    url="",
    license="MIT",
    classifiers=[],
    packages=find_packages("lib"),
    package_dir={"": "lib"},
    entry_points={
        "console_scripts": [],
        "gui_scripts": [],
    },
    python_requires="",
    setup_requires=[
        "p11x",
        "setuptools_scm",
    ],
    use_scm_version=lambda: {
        "version_scheme": "post-release",
        "local_scheme": "node-and-date"
    },
    install_requires=[],
)