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
|
- name: Install dependencies
|
||||||
run: |
|
run: |
|
||||||
python -m pip install --upgrade pip
|
python -m pip install --upgrade pip
|
||||||
python -m pip install setuptools setuptools-scm wheel twine
|
python -m pip install setuptools setuptools-scm wheel twine build
|
||||||
python -m pip install build --user
|
|
||||||
|
|
||||||
- name: Build a binary wheel
|
- name: Build a binary wheel
|
||||||
run: python -m build --wheel --outdir dist/
|
run: python -m build --wheel --outdir dist/
|
||||||
@ -124,8 +123,7 @@ jobs:
|
|||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: |
|
run: |
|
||||||
python -m pip install --upgrade pip
|
python -m pip install --upgrade pip
|
||||||
python -m pip install setuptools setuptools-scm wheel twine
|
python -m pip install setuptools setuptools-scm wheel twine build
|
||||||
python -m pip install build --user
|
|
||||||
|
|
||||||
- name: Build a source tarball
|
- name: Build a source tarball
|
||||||
run: python -m build --sdist --outdir dist/
|
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 import setup, Extension, find_packages
|
||||||
from setuptools.command.build_ext import build_ext
|
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.
|
# A CMakeExtension needs a sourcedir instead of a file list.
|
||||||
# The name must be the _single_ output extension from the CMake build.
|
# The name must be the _single_ output extension from the CMake build.
|
||||||
@ -111,7 +116,10 @@ setup(
|
|||||||
author="Andrew Cassidy",
|
author="Andrew Cassidy",
|
||||||
author_email="drewcassidy@me.com",
|
author_email="drewcassidy@me.com",
|
||||||
description="A fast block compression library for python",
|
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",
|
python_requires=">=3.7",
|
||||||
ext_modules=[CMakeExtension("_quicktex")],
|
ext_modules=[CMakeExtension("_quicktex")],
|
||||||
cmdclass={"build_ext": CMakeBuild},
|
cmdclass={"build_ext": CMakeBuild},
|
||||||
@ -130,7 +138,6 @@ setup(
|
|||||||
'console_scripts': ['quicktex = quicktex.__main__:main']
|
'console_scripts': ['quicktex = quicktex.__main__:main']
|
||||||
},
|
},
|
||||||
zip_safe=False,
|
zip_safe=False,
|
||||||
license='GNU Lesser General Public License v3 (LGPLv3)',
|
|
||||||
classifiers=[
|
classifiers=[
|
||||||
'Development Status :: 3 - Alpha',
|
'Development Status :: 3 - Alpha',
|
||||||
'Intended Audience :: Developers',
|
'Intended Audience :: Developers',
|
||||||
|
Loading…
Reference in New Issue
Block a user