* Move around data files

This commit is contained in:
Matthew Honnibal 2015-01-03 01:59:43 +11:00
parent f5d41028b5
commit 9b5cef8d4a
1 changed files with 12 additions and 3 deletions

View File

@ -30,6 +30,13 @@ def clean(ext):
os.unlink(html)
def files_in(directory):
filenames = []
for fn in os.listdir(directory):
filenames.append(path.join(directory, fn))
return [f for f in filenames if not path.isdir(f)]
HERE = os.path.dirname(__file__)
virtual_env = os.environ.get('VIRTUAL_ENV', '')
compile_args = []
@ -89,11 +96,13 @@ distutils.core.setup(
description="Industrial-strength NLP",
author='Matthew Honnibal',
author_email='honnibal@gmail.com',
version='1.0',
version='0.1',
url="http://honnibal.github.io/spaCy/",
package_data={"spacy": ["*.pxd"], "spacy.en": ["*.pxd", "data/*", "data/*/*"],
package_data={"spacy": ["*.pxd"], "spacy.en": ["*.pxd", "data/pos/*",
"data/wordnet/*", "data/tokenizer/*",
"data/vocab/*"],
"spacy.syntax": ["*.pxd"]},
cmdclass={'build_ext': Cython.Distutils.build_ext},
ext_modules=exts,
license="Dual: Commercial or AGPL. Contributions subject to contributor agreement."
license="Dual: Commercial or AGPL"
)