2803: Split arvados and arvados_fuse Python modules.
authorBrett Smith <brett@curoverse.com>
Fri, 9 May 2014 18:37:07 +0000 (14:37 -0400)
committerBrett Smith <brett@curoverse.com>
Fri, 9 May 2014 20:47:56 +0000 (16:47 -0400)
commit60c604d8e89501af180487ae7b39c1e25a66c8f3
tree5ddf31671996790fe1dcf9efdfda7c1b456a893f
parentb249529bb02dd34e54f8816222ebf81d778c957b
2803: Split arvados and arvados_fuse Python modules.

Prior commits tried to make separate SDK and FUSE packages from the
same sdk/python source tree.  However, this didn't work as intended
once the packages were installed.  Python modules don't work like Ruby
namespaces.  If you ask Python to import arvados.fuse, it finds the
arvados module, then looks for the fuse submodule under it.  So you
can't have arvados.fuse installed somewhere completely differently.

In addition, Python packages assume the installation script is called
setup.py.  So they wouldn't find setup_fuse.py.

We still want to have the FUSE module separate, so in discussion on
IRC we decided that the least worst option was to rename the module to
arvados_fuse.  This commit implements that.  If accepted, the new
build procedure will be:

  $ python setup.py egg_info -b \
    ".$(git log --format=format:%ct.%h -n1 .)" sdist upload

Refs #2803.
12 files changed:
sdk/python/MANIFEST.in [deleted file]
sdk/python/requirements.txt
sdk/python/setup.py
sdk/python/setup_header.py [deleted file]
services/fuse/.gitignore [new symlink]
services/fuse/arvados_fuse/__init__.py [moved from sdk/python/arvados/fuse/__init__.py with 100% similarity]
services/fuse/bin/arv-mount [moved from sdk/python/bin/arv-mount with 99% similarity]
services/fuse/readme.llfuse [moved from sdk/python/readme.llfuse with 100% similarity]
services/fuse/requirements.txt [new file with mode: 0644]
services/fuse/run_test_server.py [new symlink]
services/fuse/setup.py [moved from sdk/python/setup_fuse.py with 76% similarity]
services/fuse/test_mount.py [moved from sdk/python/test_mount.py with 99% similarity]