forked from stratis-storage/stratis-cli
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
60 lines (52 loc) · 1.71 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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
"""
Python packaging file for setup tools.
"""
# isort: STDLIB
import os
# isort: THIRDPARTY
import setuptools
def local_file(name):
"""
Function to obtain the relative path of a filename.
"""
return os.path.relpath(os.path.join(os.path.dirname(__file__), name))
README = local_file("README.rst")
with open(local_file("src/stratis_cli/_version.py")) as o:
exec(o.read()) # pylint: disable=exec-used
setuptools.setup(
name="stratis-cli",
version=__version__, # pylint: disable=undefined-variable
author="Anne Mulhern",
author_email="[email protected]",
description="Stratis CLI",
long_description=open(README, encoding="utf-8").read(),
platforms=["Linux"],
license="Apache 2.0",
classifiers=[
"Development Status :: 5 - Production/Stable",
"Environment :: Console",
"Intended Audience :: Developers",
"Intended Audience :: System Administrators",
"License :: OSI Approved :: Apache Software License",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
"Topic :: Software Development :: Libraries",
"Topic :: System :: Filesystems",
"Topic :: Systems Administration",
],
install_requires=[
"dbus-client-gen>=0.4",
"dbus-python-client-gen>=0.7",
"justbytes>=0.14",
"psutil",
"python-dateutil",
"semantic_version",
"wcwidth",
],
package_dir={"": "src"},
packages=setuptools.find_packages("src"),
scripts=["bin/stratis"],
)