from setuptools import setup, find_packages # Always prefer setuptools over distutils1from codecs import open # To use a consistent encoding2from os import path3import filterpy45here = path.abspath('..')678# Get the long description from the relevant file9with open(path.join(here, 'README.rst'), encoding='utf-8') as f:10long_description = f.read()1112setup(13name='filterpy',1415# Versions should comply with PEP440. For a discussion on single-sourcing16# the version across setup.py and the project code, see17# http://packaging.python.org/en/latest/tutorial.html#version18version=filterpy.__version__,1920description='Kalman filtering and optimal estimation library',21long_description=long_description,2223# The project's main homepage.24url='https://github.com/rlabbe/filterpy',2526# Author details27author='Roger Labbe',28author_email='[email protected]',2930# Choose your license31license='MIT',3233# See https://pypi.python.org/pypi?%3Aaction=list_classifiers34classifiers=[35# How mature is this project? Common values are36# 3 - Alpha37# 4 - Beta38# 5 - Production/Stable39'Development Status :: 4 - Beta',4041# Indicate who your project is intended for42'Intended Audience :: Developers',43'Intended Audience :: Education',44'Intended Audience :: Science/Research',45'Topic :: Scientific/Engineering',46'Topic :: Scientific/Engineering :: Mathematics',47'Topic :: Scientific/Engineering :: Physics',48'Topic :: Utilities',495051# Pick your license as you wish (should match "license" above)52'License :: OSI Approved :: MIT License',5354# Specify the Python versions you support here. In particular, ensure55# that you indicate whether you support Python 2, Python 3 or both.56'Programming Language :: Python :: 2',57'Programming Language :: Python :: 2.6',58'Programming Language :: Python :: 2.7',59'Programming Language :: Python :: 3',60'Programming Language :: Python :: 3.2',61'Programming Language :: Python :: 3.3',62'Programming Language :: Python :: 3.4',63],6465# What does your project relate to?66keywords='Kalman filters filtering optimal estimation tracking',6768# You can just specify the packages manually here if your project is69# simple. Or you can use find_packages().70packages=find_packages(exclude=['contrib']),7172# List run-time dependencies here. These will be installed by pip when your73# project is installed. For an analysis of "install_requires" vs pip's74# requirements files see:75# https://packaging.python.org/en/latest/technical.html#install-requires-vs-requirements-files76install_requires=['numpy', 'scipy', 'matplotlib'],7778# If there are data files included in your packages that need to be79# installed, specify them here. If using Python 2.6 or less, then these80# have to be included in MANIFEST.in as well.81package_data={82'filterpy': ['README.rst', 'changelog.txt', 'LICENSE.txt'],83},8485# Although 'package_data' is the preferred approach, in some case you may86# need to place data files outside of your packages.87# see http://docs.python.org/3.4/distutils/setupscript.html#installing-additional-files88# In this case, 'data_file' will be installed into '<sys.prefix>/my_data'89#data_files=[('my_data', ['data/data_file'])],9091# To provide executable scripts, use entry points in preference to the92# "scripts" keyword. Entry points provide cross-platform support and allow93# pip to create the appropriate form of executable for the target platform.94#entry_points={95# 'console_scripts': [96# 'sample=sample:main',97# ],98#},99)100101102