forked from google/minijail
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
executable file
·42 lines (36 loc) · 1.32 KB
/
setup.py
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
#!/usr/bin/env python3
# Copyright 2020 The ChromiumOS Authors
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
"""A file that specifies how to install minijail's python-based tool(s)."""
import os
import setuptools
this_directory = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(this_directory, "README.md"), encoding="utf-8") as f:
long_description = f.read()
setuptools.setup(
name="minijail",
version="18",
description="A set of tools for Minijail",
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: BSD License",
"Operating System :: Linux",
],
python_requires=">=3.8",
license="3-clause BSD",
long_description=long_description,
long_description_content_type="text/markdown",
author="Minijail Developers",
author_email="minijail-dev@google.com",
url="https://google.github.io/minijail/",
packages=["minijail"],
package_dir={"minijail": "tools"},
entry_points={
"console_scripts": [
"compile_seccomp_policy = minijail.compile_seccomp_policy:main",
"generate_seccomp_policy = minijail.generate_seccomp_policy:main",
"generate_constants_json = minijail.generate_constants_json:main",
],
},
)