[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Minios-devel] [UNIKRAFT PATCH v2 7/8] support/scripts: make uk-trace installable
Hi Yuri, Unfortunately, this doesn't work. I followed the steps on 2 different machines running Debian 9 and on a third one with Debian 10 (all of them with the latest updates). I tried creating the environment both in the application directory and unikraft core directory, without success. First problem: When first running `pip install --editable .` I get an error that doesn't occur on the second running, please see attached txt with the output. Second problem: I cannot run env/bin/uk-trace, again please see attached txt. Thanks, Costin On 5/30/19 2:44 AM, Yuri Volchkov wrote: > 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 > + ''', > +) > Attachment:
CLICK-INSTALL-PROBLEMS _______________________________________________ Minios-devel mailing list Minios-devel@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/mailman/listinfo/minios-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |