mirror of
https://github.com/drewcassidy/quicktex.git
synced 2024-09-13 06:37:34 +00:00
Move a good chunk of metadata to pyproject.toml
This commit is contained in:
parent
71379b7ae1
commit
29590e0323
@ -1,11 +1,53 @@
|
|||||||
[build-system]
|
[build-system]
|
||||||
requires = [
|
requires = [
|
||||||
"setuptools>=42",
|
"setuptools>=61",
|
||||||
|
"setuptools_scm>=6.2",
|
||||||
"wheel",
|
"wheel",
|
||||||
"ninja; sys_platform != 'win32'",
|
"ninja; sys_platform != 'win32'",
|
||||||
"cmake>=3.12",
|
"cmake>=3.12",
|
||||||
"setuptools_scm[toml]>=3.4"
|
|
||||||
]
|
]
|
||||||
build-backend = "setuptools.build_meta"
|
build-backend = "setuptools.build_meta"
|
||||||
|
|
||||||
|
[project]
|
||||||
|
name = "quicktex"
|
||||||
|
description = "A fast block compression library for python"
|
||||||
|
readme = "README.md"
|
||||||
|
license = { file = "LICENSE.md" }
|
||||||
|
authors = [{ name = "Andrew Cassidy", email = "drewcassidy@me.com" }]
|
||||||
|
|
||||||
|
classifiers = [
|
||||||
|
"Development Status :: 3 - Alpha",
|
||||||
|
"Intended Audience :: Developers",
|
||||||
|
"License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)",
|
||||||
|
"Operating System :: OS Independent",
|
||||||
|
"Programming Language :: Python :: 3 :: Only",
|
||||||
|
"Programming Language :: Python :: 3",
|
||||||
|
"Programming Language :: Python :: 3.7",
|
||||||
|
"Programming Language :: Python :: 3.8",
|
||||||
|
"Programming Language :: Python :: 3.9",
|
||||||
|
"Programming Language :: Python :: 3.10",
|
||||||
|
"Topic :: Multimedia :: Graphics :: Graphics Conversion",
|
||||||
|
"Programming Language :: Python :: Implementation :: CPython",
|
||||||
|
"Programming Language :: C++",
|
||||||
|
]
|
||||||
|
|
||||||
|
requires-python = ">=3.7"
|
||||||
|
dependencies = ["Pillow", "click"]
|
||||||
|
dynamic = ["version"]
|
||||||
|
|
||||||
|
[project.optional-dependencies]
|
||||||
|
tests = ["nose", "parameterized"]
|
||||||
|
docs = ["sphinx", "myst-parser", "sphinx-rtd-theme"]
|
||||||
|
stubs = ["pybind11-stubgen"]
|
||||||
|
|
||||||
|
[project.urls]
|
||||||
|
repository = "https://github.com/drewcassidy/quicktex"
|
||||||
|
changelog = "https://github.com/drewcassidy/quicktex/blob/main/CHANGELOG.md"
|
||||||
|
|
||||||
|
[project.scripts]
|
||||||
|
quicktex = "quicktex.__main__:main"
|
||||||
|
|
||||||
|
[tool.setuptools]
|
||||||
|
zip-safe = false
|
||||||
|
|
||||||
[tool.setuptools_scm]
|
[tool.setuptools_scm]
|
||||||
|
34
setup.py
34
setup.py
@ -117,44 +117,10 @@ stubs = [path.replace('quicktex/', '') for path in glob.glob('quicktex/**/*.pyi'
|
|||||||
# The information here can also be placed in setup.cfg - better separation of
|
# The information here can also be placed in setup.cfg - better separation of
|
||||||
# logic and declaration, and simpler if you include description/version in a file.
|
# logic and declaration, and simpler if you include description/version in a file.
|
||||||
setup(
|
setup(
|
||||||
name="quicktex",
|
|
||||||
use_scm_version=True,
|
use_scm_version=True,
|
||||||
author="Andrew Cassidy",
|
|
||||||
author_email="drewcassidy@me.com",
|
|
||||||
description="A fast block compression library for python",
|
|
||||||
url='https://github.com/drewcassidy/quicktex',
|
|
||||||
long_description=readme,
|
|
||||||
long_description_content_type='text/markdown',
|
|
||||||
python_requires=">=3.7",
|
|
||||||
ext_modules=[CMakeExtension("_quicktex")],
|
ext_modules=[CMakeExtension("_quicktex")],
|
||||||
cmdclass={"build_ext": CMakeBuild},
|
cmdclass={"build_ext": CMakeBuild},
|
||||||
packages=find_packages(where='.', include=['quicktex*']),
|
packages=find_packages(where='.', include=['quicktex*']),
|
||||||
package_dir={'': '.'},
|
package_dir={'': '.'},
|
||||||
package_data={'': ['py.typed'] + stubs},
|
package_data={'': ['py.typed'] + stubs},
|
||||||
include_package_data=True,
|
|
||||||
install_requires=["Pillow", "click"],
|
|
||||||
extras_require={
|
|
||||||
"tests": ["nose", "parameterized"],
|
|
||||||
"docs": ["sphinx", "myst-parser", "sphinx-rtd-theme"],
|
|
||||||
"stubs": ["pybind11-stubgen"],
|
|
||||||
},
|
|
||||||
entry_points={
|
|
||||||
'console_scripts': ['quicktex = quicktex.__main__:main']
|
|
||||||
},
|
|
||||||
zip_safe=False,
|
|
||||||
classifiers=[
|
|
||||||
'Development Status :: 3 - Alpha',
|
|
||||||
'Intended Audience :: Developers',
|
|
||||||
'License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)',
|
|
||||||
'Operating System :: OS Independent',
|
|
||||||
'Programming Language :: Python :: 3 :: Only',
|
|
||||||
'Programming Language :: Python :: 3',
|
|
||||||
'Programming Language :: Python :: 3.7',
|
|
||||||
'Programming Language :: Python :: 3.8',
|
|
||||||
'Programming Language :: Python :: 3.9',
|
|
||||||
'Programming Language :: Python :: 3.10',
|
|
||||||
"Topic :: Multimedia :: Graphics :: Graphics Conversion",
|
|
||||||
'Programming Language :: Python :: Implementation :: CPython',
|
|
||||||
'Programming Language :: C++'
|
|
||||||
],
|
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user