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 18:38:59 +0000 (14:38 -0400)
commita2d52e5693407eecf0f375ed3a72c581b303aa5c
treeb91beb43c2104640a05b9243e6968f60e867c161
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/keep-fuse-driver/.gitignore [new symlink]
services/keep-fuse-driver/arvados_fuse/__init__.py [moved from sdk/python/arvados/fuse/__init__.py with 100% similarity]
services/keep-fuse-driver/bin/arv-mount [moved from sdk/python/bin/arv-mount with 99% similarity]
services/keep-fuse-driver/readme.llfuse [moved from sdk/python/readme.llfuse with 100% similarity]
services/keep-fuse-driver/requirements.txt [new file with mode: 0644]
services/keep-fuse-driver/run_test_server.py [new symlink]
services/keep-fuse-driver/setup.py [moved from sdk/python/setup_fuse.py with 82% similarity]
services/keep-fuse-driver/test_mount.py [moved from sdk/python/test_mount.py with 99% similarity]