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
|
# SPDX-License-Identifier: GPL-2.0
import os
import setuptools
os.sys.path.insert(0, os.path.join(os.path.dirname(os.path.abspath(__file__)), "src"))
from damo import damo_version
with open("README.md", "r", encoding="utf-8") as fh:
long_description = fh.read()
setuptools.setup(
name="damo",
version=damo_version.get_release_version(),
author="SeongJae Park",
author_email="sj@kernel.org",
description="DAMON user-space tool",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/damonitor/damo",
project_urls={
"Bug Tracker": "https://github.com/damonitor/damo/issues",
"DAMON": "https://damonitor.github.io",
},
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: GNU General Public License v2 (GPLv2)",
"Operating System :: POSIX :: Linux",
],
package_dir={"": "src"},
packages=setuptools.find_packages(where="src"),
entry_points = {
"console_scripts": ["damo=damo.damo:main"],
},
python_requires=">=3.6",
)
|