]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
pybind/rados: remove rados.c from MANIFEST.in
authorKefu Chai <kchai@redhat.com>
Sat, 9 Jul 2016 05:40:19 +0000 (13:40 +0800)
committerKefu Chai <kchai@redhat.com>
Mon, 11 Jul 2016 08:23:20 +0000 (16:23 +0800)
this fixes the warning of

```
running egg_info
creating
/srv/autobuild-ceph/gitbuilder.git/build/build/src/pybind/rados/rados.egg-info
writing
/srv/autobuild-ceph/gitbuilder.git/build/build/src/pybind/rados/rados.egg-info/PKG-INFO
writing top-level names to
/srv/autobuild-ceph/gitbuilder.git/build/build/src/pybind/rados/rados.egg-info/top_level.txt
writing dependency_links to
/srv/autobuild-ceph/gitbuilder.git/build/build/src/pybind/rados/rados.egg-info/dependency_links.txt
writing manifest file
'/srv/autobuild-ceph/gitbuilder.git/build/build/src/pybind/rados/rados.egg-info/SOURCES.txt'
warning: no files found matching 'rados.c'
```

in the out-of-source tree build, rados.c is not located in the same
directory of setup.py, rados.pyx, and rados.pyd. it is in the build_dir,
for example, it could be:

  ceph/build/src/pybind/rados/pyrex/rados.c

where ceph/build is the build directory of cmake.
and sdist will include it when running egg_info, because cython's
build_ext module lists `rados.c` as one of the "source_files".

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/pybind/rados/MANIFEST.in

index 8bd11834aaf146381f1f93820e10579fa92adcce..79f1d9ce8a9e3e04f3c00c8ca1c786fd1b5c4bc0 100644 (file)
@@ -1,3 +1,2 @@
 include rados.pyx
 include rados.pxd
-include rados.c