Fix in linux support and pyproject
This commit is contained in:
parent
6a861b7673
commit
ac09f67cde
2 changed files with 7 additions and 2 deletions
|
|
@ -34,7 +34,7 @@ def install_package(package):
|
||||||
|
|
||||||
return shell_command('sudo DEBIAN_FRONTEND="noninteractive" apt-get install -y {}'.format(package[distro_id]))
|
return shell_command('sudo DEBIAN_FRONTEND="noninteractive" apt-get install -y {}'.format(package[distro_id]))
|
||||||
|
|
||||||
elif distro_id=='fedora' or distro_id=='almalinux' or distro_id=='rocky':
|
elif distro_id=='fedora' or distro_id=='almalinux' or distro_id=='rocky' or distro_id=='centos':
|
||||||
|
|
||||||
return shell_command('sudo dnf install -y {}'.format(package[distro_id]))
|
return shell_command('sudo dnf install -y {}'.format(package[distro_id]))
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,7 @@ build-backend = "flit_core.buildapi"
|
||||||
name = "pastafariutils"
|
name = "pastafariutils"
|
||||||
authors = [{name = "Antonio de la Rosa", email = "antonio.delarosa@salirdelhoyo.com"}]
|
authors = [{name = "Antonio de la Rosa", email = "antonio.delarosa@salirdelhoyo.com"}]
|
||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
version = "0.76"
|
version = "0.76.1"
|
||||||
description = "Utils for make *nix scripts."
|
description = "Utils for make *nix scripts."
|
||||||
# dynamic = ["version", "description"]
|
# dynamic = ["version", "description"]
|
||||||
|
|
||||||
|
|
@ -24,6 +24,11 @@ classifiers=['Development Status :: 4 - Beta',
|
||||||
|
|
||||||
requires-python = ">=3.9"
|
requires-python = ">=3.9"
|
||||||
|
|
||||||
|
dependencies=[
|
||||||
|
"mako",
|
||||||
|
"jinja2"
|
||||||
|
]
|
||||||
|
|
||||||
[project.urls]
|
[project.urls]
|
||||||
Home = "https://git.cuchulu.com/paramecio/pastafariutils/"
|
Home = "https://git.cuchulu.com/paramecio/pastafariutils/"
|
||||||
# Documentation = "https://docs.cuchulu.com/paramecio2/"
|
# Documentation = "https://docs.cuchulu.com/paramecio2/"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue