[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Minios-devel] [UNIKRAFT PATCH v2 7/8] support/scripts: make uk-trace installable
Now it is possible to install uk-trace in your local virtual environment. For example: python3 -m venv env . env/bin/activate cd support/scripts/uk_trace pip install --editable . deactivate All the dependencies will be installed in the 'env' folder, not to your machine. And you do not need to enter your virtual environment, you can call directly: env/bin/uk-trace Signed-off-by: Yuri Volchkov <yuri.volchkov@xxxxxxxxx> --- .gitignore | 1 + support/scripts/uk_trace/setup.py | 14 ++++++++++++++ 2 files changed, 15 insertions(+) create mode 100644 support/scripts/uk_trace/setup.py diff --git a/.gitignore b/.gitignore index 17908b50..09e4ba81 100644 --- a/.gitignore +++ b/.gitignore @@ -34,3 +34,4 @@ GTAGS # cscope files cscope.* ncscope.* +support/scripts/uk_trace/uk_trace.egg-info/ diff --git a/support/scripts/uk_trace/setup.py b/support/scripts/uk_trace/setup.py new file mode 100644 index 00000000..303273ad --- /dev/null +++ b/support/scripts/uk_trace/setup.py @@ -0,0 +1,14 @@ +from setuptools import setup + +setup( + name='uk_trace', + version='0.1', + py_modules=['main'], + install_requires=[ + 'Click', 'tabulate', + ], + entry_points=''' + [console_scripts] + uk-trace=trace:cli + ''', +) -- 2.19.2 _______________________________________________ Minios-devel mailing list Minios-devel@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/mailman/listinfo/minios-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |