mirror of
				https://github.com/arcan1s/ahriman.git
				synced 2025-10-30 21:33:43 +00:00 
			
		
		
		
	disable manpages building for now since it requires installed distribution
This commit is contained in:
		
							
								
								
									
										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") | ||||||
|  | |||||||
		Reference in New Issue
	
	Block a user