3252: Include README in Python source manifest.
authorBrett Smith <brett@curoverse.com>
Fri, 18 Jul 2014 15:06:02 +0000 (11:06 -0400)
committerBrett Smith <brett@curoverse.com>
Fri, 18 Jul 2014 15:06:17 +0000 (11:06 -0400)
The real issue with our Python package builds is that this file isn't
being included, which causes setup.py to fail when it's run from a
source tarfile.  It *is* being included on my box, but that seems to
be because of extra information from git, or lingering information in
my .egg-info directory.  This change should make sure README is
included when a clean sdist is prepared.

This reverts commit e16c1ecc8097fd586e86fc90206836000b5f5004,
since that wasn't the real bugfix.  Refs #3252.

sdk/python/MANIFEST.in [new file with mode: 0644]
sdk/python/setup.py
services/fuse/MANIFEST.in [new file with mode: 0644]
services/fuse/setup.py

diff --git a/sdk/python/MANIFEST.in b/sdk/python/MANIFEST.in
new file mode 100644 (file)
index 0000000..9561fb1
--- /dev/null
@@ -0,0 +1 @@
+include README.rst
index 020ae76779538256a67f403e310b4233d5e0fada..2c51e8f1d0f6a5d56c06c73016ccf7ef1418f770 100644 (file)
@@ -4,7 +4,7 @@ import os
 
 from setuptools import setup, find_packages
 
-README = os.path.join(os.path.dirname(os.path.realpath(__file__)), 'README.rst')
+README = os.path.join(os.path.dirname(__file__), 'README.rst')
 
 setup(name='arvados-python-client',
       version='0.1',
diff --git a/services/fuse/MANIFEST.in b/services/fuse/MANIFEST.in
new file mode 100644 (file)
index 0000000..9561fb1
--- /dev/null
@@ -0,0 +1 @@
+include README.rst
index 23791ca8af6be7e3515eaf084f35c0b6184474e3..d9fe797b8ee06df097381f8bd896a03e8db46589 100644 (file)
@@ -4,7 +4,7 @@ import os
 
 from setuptools import setup, find_packages
 
-README = os.path.join(os.path.dirname(os.path.realpath(__file__)), 'README.rst')
+README = os.path.join(os.path.dirname(__file__), 'README.rst')
 
 setup(name='arvados_fuse',
       version='0.1',