>From 08ab7ca1899a545ed421f9f361cd41f4c96096f7 Mon Sep 17 00:00:00 2001 From: Yuri Volchkov Date: Sat, 1 Jun 2019 13:50:08 +0200 Subject: [PATCH] fix setup-tools problems Signed-off-by: Yuri Volchkov --- doc/guides/developers-debugging.rst | 2 ++ support/scripts/uk_trace/setup.py | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/doc/guides/developers-debugging.rst b/doc/guides/developers-debugging.rst index 3973ffe7..258d2f9f 100644 --- a/doc/guides/developers-debugging.rst +++ b/doc/guides/developers-debugging.rst @@ -90,8 +90,10 @@ Or, you can install trace.py into a local virtual environment: :: python3 -m venv env . env/bin/activate cd support/scripts/uk_trace + pip install --upgrade pip setuptools wheel pip install --editable . deactivate + cd - All the dependencies will be installed in the 'env' folder, not to your machine. You do not have to enter your virtual environment, you diff --git a/support/scripts/uk_trace/setup.py b/support/scripts/uk_trace/setup.py index 303273ad..3d542d02 100644 --- a/support/scripts/uk_trace/setup.py +++ b/support/scripts/uk_trace/setup.py @@ -3,7 +3,7 @@ from setuptools import setup setup( name='uk_trace', version='0.1', - py_modules=['main'], + scripts=['trace.py'], install_requires=[ 'Click', 'tabulate', ], -- 2.19.2