Skip to content

Add Python2 for older npm builds with node-gyp

License

Notifications You must be signed in to change notification settings

sourcebroker/ddev-python2

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tests project is maintained

DDEV Python2 Add-on

What is ddev-python2?

This repository allows you to install legacy Python2 inside ddev-webserver in a DDEV project.

This is only required if your npm uses Python2 to build its dependencies.

Installation

  1. ddev get stasadev/ddev-python2
  2. ddev restart

Usage

After installation, you can run Python2:

  • python2.7 (installed at /usr/bin/python2.7)
  • python (symlink to python2.7 installed at /usr/local/bin/python)

This add-on also adds packages that are normally required for npm build, see config.python2.yaml. Remove or replace the contents of this file if you only need Python2.

Contributed and maintained by @stasadev

About

Add Python2 for older npm builds with node-gyp

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%