Skip to content

Commit

Permalink
Fix rpm building
Browse files Browse the repository at this point in the history
Signed-off-by: Martin Raspaud <martin.raspaud@smhi.se>
  • Loading branch information
mraspaud committed Mar 30, 2015
1 parent 5fbf4b9 commit 2ad1bb6
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 21 deletions.
File renamed without changes.
3 changes: 2 additions & 1 deletion MANIFEST.in
Expand Up @@ -2,6 +2,7 @@ include doc/Makefile
include doc/source/*
include doc/examples/*.py
include etc/*
include gpl.txt
include LICENSE.txt
include README.rst
include MANIFEST.in

9 changes: 3 additions & 6 deletions setup.cfg
@@ -1,8 +1,5 @@
[numpy]
numpy_inc = /usr/lib64/python2.6/site-packages/numpy/core/include


[bdist_rpm]
packager = Martin Raspaud <martin.raspaud@smhi.se>
doc_files = doc/Makefile doc/source/*.rst doc/source/*.py doc/examples/*.py
requires=h5py pyresample numexpr pyhdf mipp
release=1
doc_files = doc/Makefile doc/source/*.rst doc/examples/*.py

15 changes: 1 addition & 14 deletions setup.py
Expand Up @@ -66,20 +66,7 @@
'mpop.imageo.formats'],
data_files=[(os.path.join('etc', 'pytroll'),
[os.path.join('etc', 'geo_image.cfg'),
os.path.join('etc', 'eps_avhrrl1b_6.5.xml')]),
(os.path.join('share', 'doc', NAME),
[os.path.join('doc', 'Makefile'),
os.path.join('doc', 'source', 'conf.py'),
os.path.join('doc', 'source', 'index.rst'),
os.path.join('doc', 'source', 'install.rst'),
os.path.join('doc', 'source', 'quickstart.rst'),
os.path.join('doc', 'source', 'image.rst'),
os.path.join('doc', 'source', 'pp.rst'),
os.path.join('doc', 'source', 'saturn.rst'),
os.path.join('doc', 'source', 'input.rst'),
os.path.join('doc', 'examples', 'geo_hrit.py'),
os.path.join('doc', 'examples', 'polar_aapp1b.py'),
os.path.join('doc', 'examples', 'polar_segments.py')])],
os.path.join('etc', 'eps_avhrrl1b_6.5.xml')])],
zip_safe=False,
install_requires=requires,
test_requires=["mock"],
Expand Down

0 comments on commit 2ad1bb6

Please sign in to comment.