File tree Expand file tree Collapse file tree 5 files changed +7
-8
lines changed Expand file tree Collapse file tree 5 files changed +7
-8
lines changed Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ ACLOCAL_AMFLAGS=-I m4
3030
3131install-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
Original file line number Diff line number Diff line change @@ -44,11 +44,11 @@ Python parts must be installed separately when needed.
4444It can be done using:
4545
4646```
47- cd pytrap; sudo python3 setup.py install
47+ pip install ./pytrap
4848```
4949and
5050```
51- cd pycommon; sudo python3 setup.py install
51+ pip install ./pycommon
5252```
5353
5454Project status:
Original file line number Diff line number Diff 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
6666mkdir -p %{buildroot }/%{_sysconfdir }/nemea/email-templates/; cp reporter_config/default.html %{buildroot }/%{_sysconfdir }/nemea/email-templates/default.html
Original file line number Diff line number Diff line change @@ -34,6 +34,6 @@ coverage:
3434
3535.PHONY : doc
3636doc :
37- python3 -m pip install .[doc ] --no-cache-dir
37+ python3 -m pip install .[docs ] --no-cache-dir
3838 cd docs
3939 make html
Original file line number Diff line number Diff line change 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
65is to allow native calls of base TRAP functionality (used by NEMEA modules).
76
87# Installation
You can’t perform that action at this time.
0 commit comments