mirror of
https://github.com/arcan1s/ahriman.git
synced 2025-04-24 15:27:17 +00:00
disable manpages building for now since it requires installed distribution
This commit is contained in:
parent
9f3566a150
commit
0bfb763b2a
8
setup.py
8
setup.py
@ -1,8 +1,6 @@
|
|||||||
from build_manpages.build_manpages import build_manpages, get_build_py_cmd, get_install_cmd
|
from build_manpages import build_manpages
|
||||||
from pathlib import Path
|
from pathlib import Path
|
||||||
from setuptools import setup, find_packages
|
from setuptools import setup, find_packages
|
||||||
from setuptools.command.build_py import build_py
|
|
||||||
from setuptools.command.install import install
|
|
||||||
from typing import Any, Dict
|
from typing import Any, Dict
|
||||||
|
|
||||||
|
|
||||||
@ -103,8 +101,6 @@ setup(
|
|||||||
},
|
},
|
||||||
|
|
||||||
cmdclass={
|
cmdclass={
|
||||||
"build_manpages": build_manpages,
|
"build_manpages": build_manpages.build_manpages,
|
||||||
"build_py": get_build_py_cmd(build_py),
|
|
||||||
"install": get_install_cmd(install),
|
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
@ -49,9 +49,7 @@ def _parser() -> argparse.ArgumentParser:
|
|||||||
"--lock",
|
"--lock",
|
||||||
help="lock file",
|
help="lock file",
|
||||||
type=Path,
|
type=Path,
|
||||||
default=Path(
|
default=Path(tempfile.gettempdir()) / "ahriman.lock")
|
||||||
tempfile.gettempdir()) /
|
|
||||||
"ahriman.lock")
|
|
||||||
parser.add_argument("--no-log", help="redirect all log messages to stderr", action="store_true")
|
parser.add_argument("--no-log", help="redirect all log messages to stderr", action="store_true")
|
||||||
parser.add_argument("--no-report", help="force disable reporting to web service", action="store_true")
|
parser.add_argument("--no-report", help="force disable reporting to web service", action="store_true")
|
||||||
parser.add_argument("--unsafe", help="allow to run ahriman as non-ahriman user", action="store_true")
|
parser.add_argument("--unsafe", help="allow to run ahriman as non-ahriman user", action="store_true")
|
||||||
|
Loading…
Reference in New Issue
Block a user