Add long description and use system-level `build`

hotfix/mipmap-alpha-fix
Andrew Cassidy 3 years ago
parent c18cebb519
commit 96dc62a1b0

@ -93,8 +93,7 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install setuptools setuptools-scm wheel twine
python -m pip install build --user
python -m pip install setuptools setuptools-scm wheel twine build
- name: Build a binary wheel
run: python -m build --wheel --outdir dist/
@ -124,8 +123,7 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install setuptools setuptools-scm wheel twine
python -m pip install build --user
python -m pip install setuptools setuptools-scm wheel twine build
- name: Build a source tarball
run: python -m build --sdist --outdir dist/

@ -6,6 +6,11 @@ import subprocess
from setuptools import setup, Extension, find_packages
from setuptools.command.build_ext import build_ext
project_path = os.path.dirname(os.path.realpath(__file__))
with open(os.path.join(project_path, 'README.md')) as f:
readme = f.read()
# A CMakeExtension needs a sourcedir instead of a file list.
# The name must be the _single_ output extension from the CMake build.
@ -111,7 +116,10 @@ setup(
author="Andrew Cassidy",
author_email="drewcassidy@me.com",
description="A fast block compression library for python",
long_description="",
license='GNU Lesser General Public License v3 (LGPLv3)',
url='https://github.com/drewcassidy/quicktex',
long_description=readme,
long_description_content_type='text/markdown',
python_requires=">=3.7",
ext_modules=[CMakeExtension("_quicktex")],
cmdclass={"build_ext": CMakeBuild},
@ -130,7 +138,6 @@ setup(
'console_scripts': ['quicktex = quicktex.__main__:main']
},
zip_safe=False,
license='GNU Lesser General Public License v3 (LGPLv3)',
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',

Loading…
Cancel
Save