Giter VIP home page Giter VIP logo

Comments (3)

zyv avatar zyv commented on May 18, 2024 1

Hi @ddahan ,

BUILD_DIR is an internal variable which is part of Buildpack API - it is not possible to set this variable externally. As such our buildpack doesn't support projects located in subdirectories and I think it's also the wrong level to support it in our code.

One could write another buildpack to do that in a generic way. This buildpack seems to do exactly that and has most stars:

https://github.com/negativetwelve/heroku-buildpack-subdir

Alternatively, you can indeed play with symlinks, but I can understand that it looks ugly und feels wrong...

Does this address your question?

from python-poetry-buildpack.

ddahan avatar ddahan commented on May 18, 2024

Thanks for the fast answer :)
I realized most buildpacks (not only this one) expect stuff to be at root directory. Thus, I decided to put all code at root, rather than messing with symlinks and other exotic buildpacks.

But your the solution you provided seems to be a good idea to try too.

from python-poetry-buildpack.

zyv avatar zyv commented on May 18, 2024

I realized most buildpacks (not only this one) expect stuff to be at root directory. Thus, I decided to put all code at root, rather than messing with symlinks and other exotic buildpacks.

That's correct, if you want to minimise the number of problems you'll run into with the platform, it's best to go with the flow and just put the code at root :-) Otherwise, I think buildpack composition is the best choice.

I'll close this issue for now, good luck with your projects!

from python-poetry-buildpack.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.