Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
from setuptools import setup
import multimethod
setup(
name='multimethod',
version=multimethod.__version__,
description='Multiple argument dispatching.',
long_description=open('README.md').read(),
long_description_content_type='text/markdown',
author='Aric Coady',
author_email='aric.coady@gmail.com',
url='https://github.com/coady/multimethod',
project_urls={'Documentation': 'https://multimethod.readthedocs.io'},
license='Apache Software License',
packages=['multimethod'],
package_data={'multimethod': ['py.typed']},
zip_safe=False,
extras_require={'docs': ['recommonmark', 'nbsphinx', 'jupyter', 'sphinx']},
python_requires='>=3.6',
tests_require=['pytest-cov'],
keywords='multiple dispatch multidispatch generic functions methods overload',
classifiers=[
# documentation root, use os.path.abspath to make it absolute, like shown here.
import os
import sys
sys.path.append(os.path.abspath('..'))
import multimethod
# -- Project information -----------------------------------------------------
project = 'multimethod'
copyright = '2020, Aric Coady'
author = 'Aric Coady'
# The full version, including alpha/beta/rc tags
release = multimethod.__version__
# -- General configuration ---------------------------------------------------
# Add any Sphinx extension module names here, as strings. They can be
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
# ones.
extensions = [
'sphinx.ext.autodoc',
'sphinx.ext.viewcode',
'recommonmark',
'nbsphinx',
]
# Add any paths that contain templates here, relative to this directory.
templates_path = ['_templates']