Skip to content
Permalink
Browse files
Add tests and test data to package
  • Loading branch information
geographika committed Sep 4, 2018
1 parent 04f8fc0 commit c144dd03e2772c1b9de413a4f1a5fdd5d82c4f34
Showing 1 changed file with 5 additions and 2 deletions.
@@ -40,6 +40,9 @@ setup(
url="http://www.mapserver.org",
version="@MapServer_VERSION_MAJOR@.@MapServer_VERSION_MINOR@",
packages=find_packages(),
package_data={'mapscript': ['$<TARGET_FILE_NAME:@SWIG_MODULE_pythonmapscript_REAL_NAME@>']},
distclass=BinaryDistribution
package_data={
# list the files to include starting with the most deeply nested folder or they are overwritten
'mapscript': ['tests/data/vera/*.*', 'tests/data/*.*', '$<TARGET_FILE_NAME:@SWIG_MODULE_pythonmapscript_REAL_NAME@>']
},
distclass=BinaryDistribution
)

0 comments on commit c144dd0

Please sign in to comment.