<commit_before>#!/usr/bin/env python3
import glob
import os

from setuptools import find_packages, setup
from distutils.extension import Extension
from Cython.Distutils import build_ext

import pybind11

setup(
    name="Fire RS",
    version="0.1",
    description="FireRS situation assessment and observation planning (SAOP) software",
    url="http://fire-rs.com",
    packages=find_packages(),
    license="GPLv3+",
    install_requires=['affine', 'GDAL', 'numpy', 'pandas', 'pytz', 'matplotlib', 'sklearn', 'pybind11'],
    ext_modules=[
        Extension("fire_rs.firemodel.rothermel", sources=["fire_rs/firemodel/rothermel.pyx"]),
        Extension("fire_rs.firemodel.environment", sources=["fire_rs/firemodel/environment.pyx"]),
        Extension("fire_rs.firemodel.fireshapes", sources=["fire_rs/firemodel/fireshapes.pyx"]),
        # Extension("fire_rs.firemodel.propagation", sources=["fire_rs/firemodel/propagation.pyx"]),
        Extension(
            name='fire_rs.uav_planning',
            sources=['fire_rs/planning-cpp/src/ext/dubins.cpp', 'fire_rs/planning-cpp/src/python_interface.cpp'],
            depends=glob.glob(os.path.join('fire_rs', 'planning-cpp', 'src', '**', '*.h'), recursive=True),
            include_dirs=[pybind11.get_include(False), pybind11.get_include(True)],  # Path to pybind11 headers
            extra_compile_args=["-std=c++11",  "-Wall", "-Wno-deprecated"],
            language='c++',
            undef_macros=['NDEBUG'],  # enable assertions in compiled C++ code
        ),
    ],
    cmdclass={'build_ext': build_ext}
)<commit_msg>Compile uav_planning c++ extension with debugging symbols<commit_after>#!/usr/bin/env python3
import glob
import os

from setuptools import find_packages, setup
from distutils.extension import Extension
from Cython.Distutils import build_ext

import pybind11

setup(
    name="Fire RS",
    version="0.1",
    description="FireRS situation assessment and observation planning (SAOP) software",
    url="http://fire-rs.com",
    packages=find_packages(),
    license="GPLv3+",
    install_requires=['affine', 'GDAL', 'numpy', 'pandas', 'pytz', 'matplotlib', 'sklearn', 'pybind11'],
    ext_modules=[
        Extension("fire_rs.firemodel.rothermel", sources=["fire_rs/firemodel/rothermel.pyx"]),
        Extension("fire_rs.firemodel.environment", sources=["fire_rs/firemodel/environment.pyx"]),
        Extension("fire_rs.firemodel.fireshapes", sources=["fire_rs/firemodel/fireshapes.pyx"]),
        # Extension("fire_rs.firemodel.propagation", sources=["fire_rs/firemodel/propagation.pyx"]),
        Extension(
            name='fire_rs.uav_planning',
            sources=['fire_rs/planning-cpp/src/ext/dubins.cpp', 'fire_rs/planning-cpp/src/python_interface.cpp'],
            depends=glob.glob(os.path.join('fire_rs', 'planning-cpp', 'src', '**', '*.h'), recursive=True),
            include_dirs=[pybind11.get_include(False), pybind11.get_include(True)],  # Path to pybind11 headers
            extra_compile_args=["-std=c++11", "-O0", "-g" , "-Wall", "-Wno-deprecated"],
            language='c++',
            undef_macros=['NDEBUG'],  # enable assertions in compiled C++ code
        ),
    ],
    cmdclass={'build_ext': build_ext}
)
{'fraction_non_alphanumeric': 0.15967691829760794, 'fraction_numerical': 0.010251630941286114, 'mean_word_length': 3.9768160741885628, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, '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': '1575600', 'n_tokens_mistral': 1051, 'n_tokens_neox': 1037, 'n_words': 170}