saga-project / BigJob

SAGA-based Pilot-Job Implementation for Compute and Data
http://saga-project.github.com/BigJob/
Other
19 stars 8 forks source link

bigjob package naming #153

Open andre-merzky opened 10 years ago

andre-merzky commented 10 years ago

Bigjob installs the following packages (from setup.py):

      packages=['bigjob', 'bigjob_dynamic', 'coordination', 'pilot', 'bigjob.job_plugin', 'pilot.api','pilot.api.compute', 'pilot.api.data', 'pilot.coordination', 
                'pilot.filemanagement', 'pilot.impl', 'pilot.scheduler', 'examples', 'api', 'bootstrap', 'cli']

That basically implies that whenever I install bigjob, I will get naming conflicts on pilot.py, example.py, cli.py, api.py, bootstrap etc which I happen to have in my own tree. Like

import pilot

will not be able to distinguish between the bigjob package and my sinon/pilot.py. I would very much appreciate it if bigjob packages could be moved into the bigjob namespace...

Mostly python does the right thing - but if not this screws up badly. Like

from api import base 

will result in 'no base in api' if the bigjob api module is picked up -- which is totally confusing...

This is related to #123 .

andre-merzky commented 10 years ago

I would love to get a reaction on this ticket...