Skip to content

Commit dc8a4ca

Browse files
committed
update README
1 parent f3de622 commit dc8a4ca

File tree

5 files changed

+7
-8
lines changed

5 files changed

+7
-8
lines changed

Makefile.am

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ ACLOCAL_AMFLAGS=-I m4
3030

3131
install-exec-hook:
3232
@echo -e "\n\n"
33-
@echo "For installation of Python components run the following commands as root:"
33+
@echo "For installation of Python components run the following commands:"
3434
@for i in ${PYTHON_SUBDIRS}; do \
3535
echo -e "(pip install ./$${i})\n"; \
3636
done

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,11 +44,11 @@ Python parts must be installed separately when needed.
4444
It can be done using:
4545

4646
```
47-
cd pytrap; sudo python3 setup.py install
47+
pip install ./pytrap
4848
```
4949
and
5050
```
51-
cd pycommon; sudo python3 setup.py install
51+
pip install ./pycommon
5252
```
5353

5454
Project status:

pycommon/nemea-pycommon.spec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ rm -rf %{pypi_name}.egg-info
6060

6161
%install
6262
# Must do the subpackages' install first because the scripts in /usr/bin are
63-
# overwritten with every install. TODO check
63+
# overwritten with every install.
6464
%{__python3} -m pip install . --root %{buildroot} --no-deps --disable-pip-version-check --no-cache-dir --verbose
6565

6666
mkdir -p %{buildroot}/%{_sysconfdir}/nemea/email-templates/; cp reporter_config/default.html %{buildroot}/%{_sysconfdir}/nemea/email-templates/default.html

pytrap/Makefile.am

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,6 @@ coverage:
3434

3535
.PHONY: doc
3636
doc:
37-
python3 -m pip install .[doc] --no-cache-dir
37+
python3 -m pip install .[docs] --no-cache-dir
3838
cd docs
3939
make html

pytrap/README

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
# About pytrap
2+
The `pytrap` module is a native Python extension that allows writing NEMEA modules in Python.
23

3-
The pytrap module is a native Python extension that allows for writing NEMEA modules in Python.
4-
TODO
5-
This directory contains an implementation of Python extension. The aim
4+
This directory contains an implementation of a Python extension. The aim
65
is to allow native calls of base TRAP functionality (used by NEMEA modules).
76

87
# Installation

0 commit comments

Comments
 (0)