Skip to content

Specify output target for requirements #340

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
jamesryanbell opened this issue Apr 2, 2019 · 1 comment
Open

Specify output target for requirements #340

jamesryanbell opened this issue Apr 2, 2019 · 1 comment
Labels

Comments

@jamesryanbell
Copy link

Is it possible to specify which folder the injected requirements end up in? For example:

├── function1
│      ├── requirements.txt
│      ├── libraries <-- requirements would be injected here
│      └── index.py

Thanks,
James

@davaxi
Copy link

davaxi commented Nov 4, 2021

For Serverless scaleway it's need to overide destination of requirement to other other folder package. Currently

and

pipCmd.push('-t', '/var/task/', '-r', '/var/task/requirements.txt');

force destination and unauthorize usage of

pipCmdExtraArgs:
 - --target

Simply add options pipTarget with default '' and update two lines with concat.

Ping : @scaleway

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants