Eliminated build.sh and sed in favor of a common setup_header.py script which
[arvados.git] / sdk / python / setup_fuse.py
similarity index 64%
rename from sdk/python/setup_fuse.py.src
rename to sdk/python/setup_fuse.py
index 9e191fbb2416cbeff07f6417f563209e2e427d74..4c759c11e99b2d0f50cef5246a4e946a622b34f0 100644 (file)
@@ -1,15 +1,8 @@
 from setuptools import setup
-import distutils
-import shutil
-
-minor_version = '%%MINOR_VERSION%%'
-
-# setup.py and setup_fuse.py both share the build/ directory (argh!) so
-# make sure to delete it to avoid scooping up the wrong files.
-shutil.rmtree('build')
+import setup_header
 
 setup(name='arvados-fuse-driver',
-      version='0.1.' + minor_version,
+      version='0.1.' + setup_header.minor_version,
       description='Arvados FUSE driver',
       author='Arvados',
       author_email='info@arvados.org',