<commit_before>diff --git a/setup.py b/setup.py
index d8a197d..93a760f 100644
--- a/setup.py
+++ b/setup.py
@@ -68,6 +68,12 @@ for flag in pkgconfig('--libs-only-other'):
 ext_args['define_macros'].append(
     ("EIGEN_YES_I_KNOW_SPARSE_MODULE_IS_NOT_STABLE_YET", "1"))
 
+# Fix compilation issues on Windows. See
+# https://github.com/strawlab/python-pcl/issues/60#issuecomment-70851238
+ext_args['extra_compile_args'].append("/EHsc")
+ext_args['include_dirs'].append(os.environ["LIBRARY_INC"])
+ext_args['include_dirs'].append(os.path.join(os.environ["LIBRARY_INC"], 'pcl-1.7'))
+
 setup(name='python-pcl',
       description='pcl wrapper',
       url='http://github.com/strawlab/python-pcl',
@@ -83,3 +89,4 @@ setup(name='python-pcl',
                   ],
       cmdclass={'build_ext': build_ext}
       )
+<commit_msg>Python-pcl: Simple improvements to ext_args.patch<commit_after>diff --git a/setup.py b/setup.py
index d8a197d..f3a1f16 100644
--- setup.py
+++ setup.py
@@ -68,6 +68,11 @@ for flag in pkgconfig('--libs-only-other'):
 ext_args['define_macros'].append(
     ("EIGEN_YES_I_KNOW_SPARSE_MODULE_IS_NOT_STABLE_YET", "1"))
 
+# Fix compilation issues on Windows
+ext_args['extra_compile_args'].append("/EHsc")
+ext_args['include_dirs'].append(os.environ["LIBRARY_INC"])
+ext_args['include_dirs'].append(os.path.join(os.environ["LIBRARY_INC"], 'pcl-1.7'))
+
 setup(name='python-pcl',
       description='pcl wrapper',
       url='http://github.com/strawlab/python-pcl',
@@ -83,3 +88,4 @@ setup(name='python-pcl',
                   ],
       cmdclass={'build_ext': build_ext}
       )
+
{'fraction_non_alphanumeric': 0.19199499687304566, 'fraction_numerical': 0.04440275171982489, 'mean_word_length': 4.298013245033113, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 1, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6927729', 'n_tokens_mistral': 668, 'n_tokens_neox': 611, 'n_words': 78}