Skip to content
This repository has been archived by the owner on Jul 11, 2021. It is now read-only.

make dependencies part of makefile #40

Closed
jyn514 opened this issue Jun 24, 2018 · 10 comments
Closed

make dependencies part of makefile #40

jyn514 opened this issue Jun 24, 2018 · 10 comments
Assignees

Comments

@jyn514
Copy link
Owner

jyn514 commented Jun 24, 2018

This would lower the burden on the end user and also simplify travis builds slightly. The only difficult thing would be to install in both a system environment (/usr/bin/pip) and virtualenv. pip install --user does not work in a virtual environment.

I'm open to suggestions :)

@jyn514 jyn514 added the help wanted Extra attention is needed label Jun 24, 2018
@charlesdaniels
Copy link
Collaborator

charlesdaniels commented Jun 24, 2018 via email

@jyn514
Copy link
Owner Author

jyn514 commented Jun 24, 2018

Hmm, fair. I'll look into it.

jyn514 added a commit that referenced this issue Jun 24, 2018
This reverts commit a49c03c.
See #40 (comment)
for context; `make` shouldn't touch anything but the current directory.
@jyn514
Copy link
Owner Author

jyn514 commented Jun 24, 2018

how would you expect it to behave if you were already in a virtualenv? Is it possible to nest them?

@charlesdaniels
Copy link
Collaborator

charlesdaniels commented Jun 24, 2018 via email

@jyn514
Copy link
Owner Author

jyn514 commented Jun 24, 2018

There doesn't appear to be a way to source a virtual environment for all recipies in a makefile, we'd have to do it for each individually. The closest we could get is a wrapper for make, similar to ./gradlew. I really don't want to do that, though.

@jyn514
Copy link
Owner Author

jyn514 commented Jun 24, 2018

Pushing my current code so you have it available, but I'm a little dubious about this. It might be better to remove dependencies from the makefile altogether.

@charlesdaniels
Copy link
Collaborator

charlesdaniels commented Jun 24, 2018 via email

@jyn514
Copy link
Owner Author

jyn514 commented Jun 24, 2018

got it, you can pass ENV and BASH_ENV to sh and bash respectively and they'll source that on startup

@jyn514
Copy link
Owner Author

jyn514 commented Jun 24, 2018

err . . . so we don't think this was a helpful thing to do? I don't really care either way since I only have to install once, I just feel a little silly that I spent time on it

@jyn514 jyn514 removed the help wanted Extra attention is needed label Jun 25, 2018
@jyn514
Copy link
Owner Author

jyn514 commented Jun 25, 2018

done in 0451585

@jyn514 jyn514 closed this as completed Jun 25, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants