I have a library, which has a demo website. The setup.py for the library looks like this:
setup(
...
install_requires=[
...
],
extras_require={
"test": [
...
],
"demo": [
...
]
},
...
)
I run the demo on Heroku. How do I tell heroku to do pip install -e .[demo]
?
My reading of the docs was somewhat fruitful. I've added requirements.txt
which does
# heroku needs this
-e .[demo]
But perhaps there is a better way? I'm aiming to solve this without creating a requirements.txt file.