mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH] doc: including_bsp_doc: add missing virtualenv command
@ 2018-10-09  9:20 Ahmad Fatoum
  2018-10-09 10:36 ` Robert Schwebel
  0 siblings, 1 reply; 5+ messages in thread
From: Ahmad Fatoum @ 2018-10-09  9:20 UTC (permalink / raw)
  To: ptxdist; +Cc: Ahmad Fatoum

otherwise, there wouldn't be an env/ directory to source inside.
---
 doc/including_bsp_doc.inc | 1 +
 1 file changed, 1 insertion(+)

diff --git a/doc/including_bsp_doc.inc b/doc/including_bsp_doc.inc
index cfccc45b4e80..b7a986f5d547 100644
--- a/doc/including_bsp_doc.inc
+++ b/doc/including_bsp_doc.inc
@@ -32,6 +32,7 @@ when not globally present in the host system.
 .. code-block:: text
 
    $ pip3 install --upgrade --user pip virtualenv
+   $ virtualenv env
    $ source env/bin/activate
    $ pip3 install sphinx
    $ pip3 install sphinx_rtd_theme
-- 
2.19.0


_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [ptxdist] [PATCH] doc: including_bsp_doc: add missing virtualenv command
  2018-10-09  9:20 [ptxdist] [PATCH] doc: including_bsp_doc: add missing virtualenv command Ahmad Fatoum
@ 2018-10-09 10:36 ` Robert Schwebel
  2018-10-09 11:00   ` Michael Olbrich
  2018-10-11 12:36   ` Ahmad Fatoum
  0 siblings, 2 replies; 5+ messages in thread
From: Robert Schwebel @ 2018-10-09 10:36 UTC (permalink / raw)
  To: ptxdist; +Cc: Ahmad Fatoum

On Tue, Oct 09, 2018 at 11:20:01AM +0200, Ahmad Fatoum wrote:
> otherwise, there wouldn't be an env/ directory to source inside.
> ---
>  doc/including_bsp_doc.inc | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/doc/including_bsp_doc.inc b/doc/including_bsp_doc.inc
> index cfccc45b4e80..b7a986f5d547 100644
> --- a/doc/including_bsp_doc.inc
> +++ b/doc/including_bsp_doc.inc
> @@ -32,6 +32,7 @@ when not globally present in the host system.
>  .. code-block:: text
>  
>     $ pip3 install --upgrade --user pip virtualenv
> +   $ virtualenv env

Since python 3.6, virtualenv is deprecated and you should use

$ python3 -mvenv env

https://docs.python.org/3/library/venv.html

>     $ source env/bin/activate
>     $ pip3 install sphinx
>     $ pip3 install sphinx_rtd_theme
> -- 
> 2.19.0
> 
> 
> _______________________________________________
> ptxdist mailing list
> ptxdist@pengutronix.de

-- 
rsc
-- 
Pengutronix e.K.                           | Dipl.-Ing. Robert Schwebel  |
Industrial Linux Solutions                 | https://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [ptxdist] [PATCH] doc: including_bsp_doc: add missing virtualenv command
  2018-10-09 10:36 ` Robert Schwebel
@ 2018-10-09 11:00   ` Michael Olbrich
  2018-10-09 11:14     ` Robert Schwebel
  2018-10-11 12:36   ` Ahmad Fatoum
  1 sibling, 1 reply; 5+ messages in thread
From: Michael Olbrich @ 2018-10-09 11:00 UTC (permalink / raw)
  To: ptxdist

On Tue, Oct 09, 2018 at 12:36:40PM +0200, Robert Schwebel wrote:
> On Tue, Oct 09, 2018 at 11:20:01AM +0200, Ahmad Fatoum wrote:
> > otherwise, there wouldn't be an env/ directory to source inside.
> > ---
> >  doc/including_bsp_doc.inc | 1 +
> >  1 file changed, 1 insertion(+)
> > 
> > diff --git a/doc/including_bsp_doc.inc b/doc/including_bsp_doc.inc
> > index cfccc45b4e80..b7a986f5d547 100644
> > --- a/doc/including_bsp_doc.inc
> > +++ b/doc/including_bsp_doc.inc
> > @@ -32,6 +32,7 @@ when not globally present in the host system.
> >  .. code-block:: text
> >  
> >     $ pip3 install --upgrade --user pip virtualenv
> > +   $ virtualenv env
> 
> Since python 3.6, virtualenv is deprecated and you should use
> 
> $ python3 -mvenv env
> 
> https://docs.python.org/3/library/venv.html

Ok, but the only thing that changes are the commands to create the
virtualenv, right? Activation remains the same?

Michael

> >     $ source env/bin/activate
> >     $ pip3 install sphinx
> >     $ pip3 install sphinx_rtd_theme
> > -- 
> > 2.19.0
> > 
> > 
> > _______________________________________________
> > ptxdist mailing list
> > ptxdist@pengutronix.de
> 
> -- 
> rsc
> -- 
> Pengutronix e.K.                           | Dipl.-Ing. Robert Schwebel  |
> Industrial Linux Solutions                 | https://www.pengutronix.de/ |
> Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
> Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |
> 
> _______________________________________________
> ptxdist mailing list
> ptxdist@pengutronix.de

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [ptxdist] [PATCH] doc: including_bsp_doc: add missing virtualenv command
  2018-10-09 11:00   ` Michael Olbrich
@ 2018-10-09 11:14     ` Robert Schwebel
  0 siblings, 0 replies; 5+ messages in thread
From: Robert Schwebel @ 2018-10-09 11:14 UTC (permalink / raw)
  To: ptxdist

On Tue, Oct 09, 2018 at 01:00:41PM +0200, Michael Olbrich wrote:
> On Tue, Oct 09, 2018 at 12:36:40PM +0200, Robert Schwebel wrote:
> > On Tue, Oct 09, 2018 at 11:20:01AM +0200, Ahmad Fatoum wrote:
> > > otherwise, there wouldn't be an env/ directory to source inside.
> > > ---
> > >  doc/including_bsp_doc.inc | 1 +
> > >  1 file changed, 1 insertion(+)
> > > 
> > > diff --git a/doc/including_bsp_doc.inc b/doc/including_bsp_doc.inc
> > > index cfccc45b4e80..b7a986f5d547 100644
> > > --- a/doc/including_bsp_doc.inc
> > > +++ b/doc/including_bsp_doc.inc
> > > @@ -32,6 +32,7 @@ when not globally present in the host system.
> > >  .. code-block:: text
> > >  
> > >     $ pip3 install --upgrade --user pip virtualenv
> > > +   $ virtualenv env
> > 
> > Since python 3.6, virtualenv is deprecated and you should use
> > 
> > $ python3 -mvenv env
> > 
> > https://docs.python.org/3/library/venv.html
> 
> Ok, but the only thing that changes are the commands to create the
> virtualenv, right? Activation remains the same?

Yes.

rsc
-- 
Pengutronix e.K.                           | Dipl.-Ing. Robert Schwebel  |
Industrial Linux Solutions                 | https://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [ptxdist] [PATCH] doc: including_bsp_doc: add missing virtualenv command
  2018-10-09 10:36 ` Robert Schwebel
  2018-10-09 11:00   ` Michael Olbrich
@ 2018-10-11 12:36   ` Ahmad Fatoum
  1 sibling, 0 replies; 5+ messages in thread
From: Ahmad Fatoum @ 2018-10-11 12:36 UTC (permalink / raw)
  To: ptxdist

Hello,

On 10/9/18 12:36 PM, Robert Schwebel wrote:
> Since python 3.6, virtualenv is deprecated and you should use
> 
> $ python3 -mvenv env

I've resent the patch with your suggestion.

Thanks
Ahmad

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2018-10-11 12:36 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-10-09  9:20 [ptxdist] [PATCH] doc: including_bsp_doc: add missing virtualenv command Ahmad Fatoum
2018-10-09 10:36 ` Robert Schwebel
2018-10-09 11:00   ` Michael Olbrich
2018-10-09 11:14     ` Robert Schwebel
2018-10-11 12:36   ` Ahmad Fatoum

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox