Skip to content

Commit 3532b22

Browse files
committed
Fix path to aboutcode in utils_thirdparty.py #33
* Update README.rst Signed-off-by: Jono Yang <jyang@nexb.com>
1 parent 944fbae commit 3532b22

File tree

2 files changed

+11
-2
lines changed

2 files changed

+11
-2
lines changed

README.rst

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,10 @@ requirements-dev.txt files.
7070

7171
Ensure the virtual environment is enabled.
7272

73+
.. code-block:: bash
74+
75+
source venv/bin/activate
76+
7377
To generate requirements.txt:
7478

7579
.. code-block:: bash
@@ -82,12 +86,17 @@ To generate requirements-dev.txt after requirements.txt has been generated:
8286

8387
.. code-block:: bash
8488
./configure --init --dev
85-
source venv/bin/activate
8689
python etc/scripts/gen_requirements_dev.py -s venv/lib/python<version>/site-packages/
8790
8891
Collecting and generating ABOUT files for dependencies
8992
------------------------------------------------------
9093

94+
Ensure that the dependencies used by ``etc/scripts/bootstrap.py`` are installed:
95+
96+
.. code-block:: bash
97+
98+
pip install -r etc/scripts/requirements.txt
99+
91100
Once we have requirements.txt and requirements-dev.txt, we can fetch the project
92101
dependencies as wheels and generate ABOUT files for them:
93102

etc/scripts/utils_thirdparty.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2908,7 +2908,7 @@ def fetch_package_wheel(name, version, environment, dest_dir=THIRDPARTY_DIR):
29082908

29092909
def check_about(dest_dir=THIRDPARTY_DIR):
29102910
try:
2911-
subprocess.check_output(f'bin/about check {dest_dir}'.split())
2911+
subprocess.check_output(f'venv/bin/about check {dest_dir}'.split())
29122912
except subprocess.CalledProcessError as cpe:
29132913
print()
29142914
print('Invalid ABOUT files:')

0 commit comments

Comments
 (0)