freetype-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ft-devel] Integrating Docwriter into FreeType


From: Nikolaus Waxweiler
Subject: Re: [ft-devel] Integrating Docwriter into FreeType
Date: Sat, 28 Jul 2018 11:48:29 +0100

>> Why not just require virtualenv (Python 3 comes with the venv module
>> built-in and doesn’t need anything else),
> 
> I know you are a BIG fan of Python 3, but not everybody has it as the
> default…

I meant requiring virtualenv for Python 2 and using venv in Python 3.

>> automatically make a virtual environment in the working directory
>> (pip should be installed automatically in it and if not, a call to
>> `python -m ensurepip` in the venv fixes that) and use it from the
>> Makefile?
> 
> This obviously needs internet connection, right?  What I want is a
> separation between setting up the environment and calling the Makefile
> – the latter should work offline, too.

In that case, how about punting on the issue entirely and instead publishing 
docwriter on PyPI and letting people pip it from there? You just test for its 
availability in PATH and tell people what to do to get it otherwise. Then you 
have full control over whether you want to install it globally, in your user 
dir or in a venv.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]