mirror of
https://github.com/drewcassidy/quicktex.git
synced 2024-09-13 06:37:34 +00:00
Add long description and use system-level build
This commit is contained in:
parent
c18cebb519
commit
96dc62a1b0
6
.github/workflows/python-package.yml
vendored
6
.github/workflows/python-package.yml
vendored
@ -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/
|
||||
|
11
setup.py
11
setup.py
@ -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…
Reference in New Issue
Block a user