Skip to content

stasadev/ddev-python2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

add-on registry tests last commit release

DDEV Python 2

Overview

Python 2 has reached its end of life.

This add-on integrates legacy Python 2 inside the ddev-webserver into your DDEV project.

It is only needed if your npm setup requires Python 2 to build dependencies.

Installation

ddev add-on get stasadev/ddev-python2
ddev restart

After installation, make sure to commit the .ddev directory to version control.

Usage

Command Description
ddev exec python2.7 Run Python 2.7.18 inside the web container.
Installed at /usr/bin/python2.7
ddev exec python Run Python 2.7.18 inside the web container.
Symlink at /usr/local/bin/python

This add-on also installs the build-essential package, which is usually required for the npm build, see config.python2.yaml. Remove or replace the contents of this file if you only need Python 2.

Credits

Contributed and maintained by @stasadev

About

Python 2 for older npm builds with node-gyp inside DDEV

Topics

Resources

License

Stars

Watchers

Forks

Contributors 3

  •  
  •  
  •  

Languages