Skip to content
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

Add option to cleanup pyflow.data directory after successful run completion #1

Open
isthisthat opened this issue Nov 6, 2013 · 3 comments

Comments

@isthisthat
Copy link

Hello,
I'm trying to intall pyflow in my python 2.7.5 installation, using the command:

pip install pyflow

I get the following error:

ImportError: No module named ez_setup

Should this be a dependency?

Thanks a lot,
Stathis

@ctsa
Copy link
Contributor

ctsa commented Nov 6, 2013

pip is trying to download and install a different pyflow from some library database. If you'd like to use the installer for pyflow, try:

python setup.py build install

...will note this in the README

@isthisthat
Copy link
Author

Hi Chris,
Thanks for this. I just wrote my first script in pyflow and I'm very
pleased. Fantastic piece of code.
A quick question: is there a way to clean-up the pyflow.data folder after
my workflow successfully completes? (or a good reason not to do so?).
Addint the task "rm -rf pyflow.data" did not seem to do it..
Thanks,
Stathis

On Wed, Nov 6, 2013 at 3:37 PM, Chris Saunders [email protected]:

pip is trying to download and install a different pyflow from some library
database. If you'd like to use the installer for pyflow, try:

python setup.py build install

...will note this in the README


Reply to this email directly or view it on GitHubhttps://github.com/ctsa/pyflow/issues/1#issuecomment-27883380
.

@ctsa
Copy link
Contributor

ctsa commented Dec 2, 2013

Thanks Stathis,

Good question – so far I’ve treated any cleanup as a client responsibility, just because the pyflow directory can be useful for any post-run analysis of problems. It seems reasonable to support a runtime option which would remove the directory after successful workflow completion – ideally default behavior would stay the same.

-Chris

From: Stathis [mailto:[email protected]]
Sent: Friday, November 29, 2013 05:30
To: ctsa/pyflow
Cc: Saunders, Chris
Subject: Re: [pyflow] ImportError: No module named ez_setup (#1)

Hi Chris,
Thanks for this. I just wrote my first script in pyflow and I'm very
pleased. Fantastic piece of code.
A quick question: is there a way to clean-up the pyflow.data folder after
my workflow successfully completes? (or a good reason not to do so?).
Addint the task "rm -rf pyflow.data" did not seem to do it..
Thanks,
Stathis

On Wed, Nov 6, 2013 at 3:37 PM, Chris Saunders <[email protected]mailto:[email protected]>wrote:

pip is trying to download and install a different pyflow from some library
database. If you'd like to use the installer for pyflow, try:

python setup.py build install

...will note this in the README


Reply to this email directly or view it on GitHubhttps://github.com/ctsa/pyflow/issues/1#issuecomment-27883380
.


Reply to this email directly or view it on GitHubhttps://github.com/ctsa/pyflow/issues/1#issuecomment-29516150.

@ctsa ctsa changed the title ImportError: No module named ez_setup Add option to cleanup pyflow.data directory after successful run completion Jul 22, 2015
ctsa pushed a commit that referenced this issue Dec 14, 2015
Move `sudo: required` inside `matrix.include` section
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants