xmlsec/xmlsec1 In Heroku Python

Need xmlsec (aka xmlsec1) working in Heroku's Python? Try this: 

  1. Install buildpack: heroku buildpacks:add --index 1 heroku-community/apt
    1. This needs to be before the Python buildpack. You can validate that in the settings tab now days. 
  2. Create an Aptfile in the root of your project and add:
    1. libxml2-dev
      libxml2
      libxmlsec1-dev
      libxmlsec1
      libxmlsec1-openssl
      build-essential
      libxml2-utils
      xmlsec1
  3. Commit & Push!
Subscribe to Heroku