зеркало из https://github.com/mozilla/kenlm.git
Fix setup.py to include headers and move to setuptools
This will allow to create tag.gz source package by running: python setup.py sdist and create wheel package by running: pip install wheel python setup.py bdist_wheel
This commit is contained in:
Родитель
9310f14c4f
Коммит
456e598caf
|
@ -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
|
6
setup.py
6
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,
|
||||
)
|
||||
|
|
Загрузка…
Ссылка в новой задаче