diff --git a/MANIFEST.in b/MANIFEST.in index c144c31a7..18e7a8b29 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -1,2 +1 @@ recursive-include include *.h -recursive-include spacy *.pyx *.pxd diff --git a/README-MSVC.txt b/README-MSVC.txt index 2d4a727c1..cc45eab3f 100644 --- a/README-MSVC.txt +++ b/README-MSVC.txt @@ -1,14 +1,14 @@ Python 2.7 Windows build has been tested with the following toolchain: - Python 2.7.10 :) - Microsoft Visual C++ Compiler Package for Python 2.7 http://www.microsoft.com/en-us/download/details.aspx?id=44266 - - C99 compliant stdint.h for MSVC http://msinttypes.googlecode.com/svn/trunk/stdint.h + - C99 compliant stdint.h for MSVC https://msinttypes.googlecode.com/svn/trunk/stdint.h (C99 complian stdint.h header which is not supplied with Microsoft Visual C++ compiler prior to MSVC 2010) Build steps: - pip install --upgrade setuptools - pip install cython fabric fabtools - pip install -r requirements.txt - - python setup.py build_ext --inplace + - python pip install -e . If you are using traditional Microsoft SDK (v7.0 for Python 2.x or v7.1 for Python 3.x) consider run_with_env.cmd from appveyor folder (submodule) as a guideline for environment setup. It can be also used as shell conviguration script for your build, install and run commands, i.e.: cmd /E:ON /V:ON /C run_with_env.cmd diff --git a/setup.py b/setup.py index 017fbfe5a..6000c5774 100644 --- a/setup.py +++ b/setup.py @@ -261,6 +261,7 @@ def setup_package(): setup( name='spacy', packages=PACKAGES, + package_data={'': ['*.pyx', '*.pxd']}, description='Industrial-strength NLP', author='Matthew Honnibal', author_email='matt@spacy.io',