diff --git a/MANIFEST.in b/MANIFEST.in new file mode 100644 index 0000000..bec8496 --- /dev/null +++ b/MANIFEST.in @@ -0,0 +1,9 @@ +# file GENERATED by distutils, do NOT edit +include setup.py +include lm/*.cc +include lm/*.hh +include python/*.cpp +include util/*.cc +include util/*.hh +include util/double-conversion/*.cc +include util/double-conversion/*.h diff --git a/setup.py b/setup.py index ee061a8..676a889 100644 --- a/setup.py +++ b/setup.py @@ -1,5 +1,4 @@ -from distutils.core import setup -from distutils.extension import Extension +from setuptools import setup, Extension import glob import platform import os @@ -44,5 +43,6 @@ ext_modules = [ setup( name='kenlm', - ext_modules=ext_modules + ext_modules=ext_modules, + include_package_data=True, )