Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
Download
96128 views
1
from setuptools import setup, find_packages # Always prefer setuptools over distutils
2
from codecs import open # To use a consistent encoding
3
from os import path
4
import filterpy
5
6
here = path.abspath('..')
7
8
9
# Get the long description from the relevant file
10
with open(path.join(here, 'README.rst'), encoding='utf-8') as f:
11
long_description = f.read()
12
13
setup(
14
name='filterpy',
15
16
# Versions should comply with PEP440. For a discussion on single-sourcing
17
# the version across setup.py and the project code, see
18
# http://packaging.python.org/en/latest/tutorial.html#version
19
version=filterpy.__version__,
20
21
description='Kalman filtering and optimal estimation library',
22
long_description=long_description,
23
24
# The project's main homepage.
25
url='https://github.com/rlabbe/filterpy',
26
27
# Author details
28
author='Roger Labbe',
29
author_email='[email protected]',
30
31
# Choose your license
32
license='MIT',
33
34
# See https://pypi.python.org/pypi?%3Aaction=list_classifiers
35
classifiers=[
36
# How mature is this project? Common values are
37
# 3 - Alpha
38
# 4 - Beta
39
# 5 - Production/Stable
40
'Development Status :: 4 - Beta',
41
42
# Indicate who your project is intended for
43
'Intended Audience :: Developers',
44
'Intended Audience :: Education',
45
'Intended Audience :: Science/Research',
46
'Topic :: Scientific/Engineering',
47
'Topic :: Scientific/Engineering :: Mathematics',
48
'Topic :: Scientific/Engineering :: Physics',
49
'Topic :: Utilities',
50
51
52
# Pick your license as you wish (should match "license" above)
53
'License :: OSI Approved :: MIT License',
54
55
# Specify the Python versions you support here. In particular, ensure
56
# that you indicate whether you support Python 2, Python 3 or both.
57
'Programming Language :: Python :: 2',
58
'Programming Language :: Python :: 2.6',
59
'Programming Language :: Python :: 2.7',
60
'Programming Language :: Python :: 3',
61
'Programming Language :: Python :: 3.2',
62
'Programming Language :: Python :: 3.3',
63
'Programming Language :: Python :: 3.4',
64
],
65
66
# What does your project relate to?
67
keywords='Kalman filters filtering optimal estimation tracking',
68
69
# You can just specify the packages manually here if your project is
70
# simple. Or you can use find_packages().
71
packages=find_packages(exclude=['contrib']),
72
73
# List run-time dependencies here. These will be installed by pip when your
74
# project is installed. For an analysis of "install_requires" vs pip's
75
# requirements files see:
76
# https://packaging.python.org/en/latest/technical.html#install-requires-vs-requirements-files
77
install_requires=['numpy', 'scipy', 'matplotlib'],
78
79
# If there are data files included in your packages that need to be
80
# installed, specify them here. If using Python 2.6 or less, then these
81
# have to be included in MANIFEST.in as well.
82
package_data={
83
'filterpy': ['README.rst', 'changelog.txt', 'LICENSE.txt'],
84
},
85
86
# Although 'package_data' is the preferred approach, in some case you may
87
# need to place data files outside of your packages.
88
# see http://docs.python.org/3.4/distutils/setupscript.html#installing-additional-files
89
# In this case, 'data_file' will be installed into '<sys.prefix>/my_data'
90
#data_files=[('my_data', ['data/data_file'])],
91
92
# To provide executable scripts, use entry points in preference to the
93
# "scripts" keyword. Entry points provide cross-platform support and allow
94
# pip to create the appropriate form of executable for the target platform.
95
#entry_points={
96
# 'console_scripts': [
97
# 'sample=sample:main',
98
# ],
99
#},
100
)
101
102