Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
# The encoding of source files.
# The master toctree document.
master_doc = 'index'
# General information about the project.
project = u'Kaggler'
copyright = u'2019, Jeong-Yoon Lee'
# The version info for the project you're documenting, acts as replacement for
# |version| and |release|, also used in various other places throughout the
# built documents.
#
# The short X.Y version.
version = kaggler.__version__
# The full version, including alpha/beta/rc tags.
release = '0.8.2'
# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
# There are two options for replacing |today|: either, you set today to some
# non-false value, then it is used:
# Else, today_fmt is used as the format for a strftime call.
# List of patterns, relative to source directory, that match files and
# directories to ignore when looking for source files.
exclude_patterns = ['_build']
# The reST default role (used for this markup: `text`) to use for all
# documents.
# include_dirs adjusted:
class my_build_ext(build_ext):
def finalize_options(self):
build_ext.finalize_options(self)
# prevent numpy from thinking it is still in its setup process:
set_builtin('__NUMPY_SETUP__', False)
import numpy as np
self.include_dirs.append(np.get_include())
setup(
name='Kaggler',
version=kaggler.__version__,
author='Jeong-Yoon Lee',
author_email='jeongyoon.lee1@gmail.com',
packages=['kaggler',
'kaggler.feature_selection',
'kaggler.ensemble',
'kaggler.model',
'kaggler.metrics',
'kaggler.online_model',
'kaggler.preprocessing'],
url='https://github.com/jeongyoonlee/Kaggler',
license='LICENSE',
description='Code for Kaggle Data Science Competitions.',
long_description=read_md('README.md'),