Compare commits
3 Commits
Author | SHA1 | Date |
---|---|---|
gabriele.ponzo | 8aeabdc0de | |
emiliano.vavassori | 09f21c1f44 | |
emiliano.vavassori | 9f8d9db228 |
|
@ -1,6 +1,3 @@
|
|||
venv
|
||||
test
|
||||
build
|
||||
dist
|
||||
loaih.egg-info
|
||||
venv
|
||||
**/__pycache__
|
||||
|
|
|
@ -1,10 +1,9 @@
|
|||
# LibreOffice AppImage Helper - `loaih` #
|
||||
|
||||
LibreOffice AppImage Helper is an enhanced Python porting from [previous work
|
||||
from Antonio
|
||||
Faccioli](https://github.com/antoniofaccioli/libreoffice-appimage). It helps
|
||||
building a LibreOffice AppImage from officially released .deb files with some
|
||||
options.
|
||||
by Antonio Faccioli](https://github.com/antoniofaccioli/libreoffice-appimage).
|
||||
It helps building a LibreOffice AppImage from officially released .deb files
|
||||
with some options.
|
||||
|
||||
## Getting options and help ##
|
||||
|
||||
|
|
|
@ -11,13 +11,15 @@ if [[ ${retval} -ne 0 ]]; then
|
|||
# for the sake of consistency, let's make the check_updates.sh script
|
||||
# executable
|
||||
chmod +x check_updates.sh
|
||||
|
||||
# Updating runtime
|
||||
if [[ -d venv ]]; then
|
||||
source venv/bin/activate
|
||||
fi
|
||||
pip3 uninstall -y loaih
|
||||
# build the actual toolkit
|
||||
python3 setup.py bdist_wheel
|
||||
pip3 install dist/*.whl; rv=$?
|
||||
python3 -m build --sdist
|
||||
pip3 install dist/*.tar.gz; rv=$?
|
||||
if [[ -d venv ]]; then
|
||||
deactivate
|
||||
fi
|
||||
|
|
|
@ -0,0 +1,50 @@
|
|||
[build-system]
|
||||
requires = ["hatchling"]
|
||||
build-backend = "hatchling.build"
|
||||
|
||||
[project]
|
||||
name = "loaih"
|
||||
dynamic = ["version"]
|
||||
description = "LOAIH - LibreOffice AppImage Helpers, help build a LibreOffice AppImage"
|
||||
readme = "README.md"
|
||||
authors = [
|
||||
{ name = "Emiliano Vavassori", email = "syntaxerrormmm@libreoffice.org" },
|
||||
]
|
||||
dependencies = [
|
||||
"click",
|
||||
"lxml",
|
||||
"packaging",
|
||||
"pyyaml",
|
||||
"requests",
|
||||
]
|
||||
classifiers = [
|
||||
"Development Status :: 5 - Production/Stable",
|
||||
"Environment :: Console",
|
||||
"Intended Audience :: Information Technology",
|
||||
"License :: OSI Approved :: MIT License",
|
||||
"Operating System :: POSIX :: Linux",
|
||||
"Programming Language :: Python :: 3",
|
||||
"Topic :: Office/Business :: Office Suites",
|
||||
"Topic :: Software Development :: Quality Assurance",
|
||||
"Topic :: System :: Software Distribution",
|
||||
]
|
||||
|
||||
[tool.hatch.version]
|
||||
path = "src/loaih/version.py"
|
||||
|
||||
[project.scripts]
|
||||
loaih = "loaih.script:cli"
|
||||
|
||||
[project.urls]
|
||||
Homepage = "https://pypi.org/project/loaih/"
|
||||
Documentation = "https://git.libreitalia.org/libreitalia/loaih/wiki"
|
||||
Repository = "https://git.libreitalia.org/libreitalia/loaih/"
|
||||
Issues = "https://git.libreitalia.org/libreitalia/loaih/issues/"
|
||||
|
||||
[publish.index]
|
||||
|
||||
[publish.index.repos.pypi]
|
||||
url = "https://upload.pypi.org/legacy/"
|
||||
|
||||
[publish.index.repos.testpypi]
|
||||
url = "https://test.pypi.org/legacy/"
|
29
setup.py
29
setup.py
|
@ -1,29 +0,0 @@
|
|||
#!/usr/bin/env python
|
||||
# encoding: utf-8
|
||||
# vim:sts=4:sw=4
|
||||
"""Helps building and automatizing building LibreOffice AppImages."""
|
||||
|
||||
from pathlib import Path
|
||||
from setuptools import setup, find_packages
|
||||
|
||||
this_directory = Path(__file__).parent
|
||||
long_description = (this_directory / "README.md").read_text()
|
||||
|
||||
setup(
|
||||
name="loaih",
|
||||
version="1.3.3",
|
||||
description="LOAIH - LibreOffice AppImage Helpers, help build a LibreOffice AppImage",
|
||||
long_description=long_description,
|
||||
long_description_content_type='text/markdown',
|
||||
author="Emiliano Vavassori",
|
||||
author_email="syntaxerrormmm@libreoffice.org",
|
||||
packages=find_packages(exclude=['contrib', 'docs', 'tests']),
|
||||
entry_points={
|
||||
'console_scripts': [
|
||||
'loaih = loaih.script:cli',
|
||||
],
|
||||
},
|
||||
install_requires=['click', 'lxml', 'packaging', 'pyyaml', 'requests'],
|
||||
license='MIT',
|
||||
url='https://git.libreitalia.org/LibreItalia/loaih/',
|
||||
)
|
|
@ -0,0 +1 @@
|
|||
__version__ = "1.3.3"
|
Loading…
Reference in New Issue