Publish project in Python 3.5 with heroku

1

Hi, I have a project made with Python 3.5 and Django 1.10 and I would like to publish it in HEROKU but I see that it only supports Python 2.7, does anyone know if heroku supports Python 3.5?

    
asked by Andres Vilca 18.09.2016 в 03:56
source

1 answer

4

Heroku supports python up to version 3.5.2 but the default value is 2.7.12. To specify the version use a file called runtime.txt and enter python-3.5.2 in that file.

Put it in the same location that has requirements.txt .

    
answered by 18.09.2016 в 05:09