-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathsetup.py
More file actions
executable file
·62 lines (57 loc) · 2.11 KB
/
setup.py
File metadata and controls
executable file
·62 lines (57 loc) · 2.11 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
# Copyright (C) 2021 Sebastian Pipping <sebastian@pipping.org>
# Licensed under GNU Affero GPL version 3 or later
from setuptools import find_packages, setup
from binary_gentoo.internal.version import VERSION_STR
_tests_require = [
"freezegun",
"parameterized",
]
_extras_require = {
"ci": [
"coverage",
"pytest",
],
"tests": _tests_require,
}
if __name__ == "__main__":
setup(
name="binary-gentoo",
version=VERSION_STR,
license="AGPLv3+",
description="CLI tools to build Gentoo packages on a non-Gentoo Linux host",
long_description=open("README.md").read(),
long_description_content_type="text/markdown",
author="Sebastian Pipping",
author_email="sebastian@pipping.org",
url="https://github.com/hartwork/binary-gentoo",
python_requires=">=3.10",
setup_requires=[
"setuptools>=38.6.0", # for long_description_content_type
],
install_requires=[
"PyYAML",
],
extras_require=_extras_require,
tests_require=_tests_require,
packages=find_packages(),
entry_points={
"console_scripts": [
"gentoo-build = binary_gentoo.internal.cli.build:main",
"gentoo-clean = binary_gentoo.internal.cli.clean:main",
"gentoo-local-queue = binary_gentoo.internal.cli.local_queue:main",
"gentoo-packages = binary_gentoo.internal.cli.packages:main",
"gentoo-tree-diff = binary_gentoo.internal.cli.tree_diff:main",
"gentoo-tree-sync = binary_gentoo.internal.cli.tree_sync:main",
],
},
classifiers=[
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Programming Language :: Python :: 3 :: Only",
],
)