pyflow icon indicating copy to clipboard operation
pyflow copied to clipboard

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

Open isthisthat opened this issue 11 years ago • 3 comments

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

isthisthat avatar Nov 06 '13 11:11 isthisthat

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

ctsa avatar Nov 06 '13 15:11 ctsa

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 .

isthisthat avatar Nov 29 '13 13:11 isthisthat

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 avatar Dec 02 '13 23:12 ctsa