Skip to content

Commit

Permalink
Added setup for inclusion on PyPI
Browse files Browse the repository at this point in the history
  • Loading branch information
rlabbe committed Sep 1, 2014
1 parent 20d5dd4 commit 9b7c86f
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 14 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
*.pyc
dist/
*egg-info*
34 changes: 20 additions & 14 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
long_description = f.read()

setup(
name='sample',
name='filterpy',

# Versions should comply with PEP440. For a discussion on single-sourcing
# the version across setup.py and the project code, see
Expand Down Expand Up @@ -38,8 +38,14 @@
'Development Status :: 3 - Alpha',

# Indicate who your project is intended for
'Intended Audience :: Developers, Engineers',
'Topic :: Software Development :: Build Tools',
'Intended Audience :: Developers',
'Intended Audience :: Education',
'Intended Audience :: Science/Research',
'Topic :: Scientific/Engineering',
'Topic :: Scientific/Engineering :: Mathematics',
'Topic :: Scientific/Engineering :: Physics',
'Topic :: Utilities',


# Pick your license as you wish (should match "license" above)
'License :: OSI Approved :: MIT License',
Expand All @@ -56,7 +62,7 @@
],

# What does your project relate to?
keywords='Kalman filters filtering optimal estimation tracking',
keywords='Kalman filters filtering optimal estimation tracking',

# You can just specify the packages manually here if your project is
# simple. Or you can use find_packages().
Expand All @@ -66,27 +72,27 @@
# project is installed. For an analysis of "install_requires" vs pip's
# requirements files see:
# https://packaging.python.org/en/latest/technical.html#install-requires-vs-requirements-files
install_requires=['peppercorn'],
install_requires=['numpy', 'scipy', 'matplotlib'],

# If there are data files included in your packages that need to be
# installed, specify them here. If using Python 2.6 or less, then these
# have to be included in MANIFEST.in as well.
package_data={
'sample': ['package_data.dat'],
},
#package_data={
# 'sample': ['package_data.dat'],
#},

# Although 'package_data' is the preferred approach, in some case you may
# need to place data files outside of your packages.
# see http://docs.python.org/3.4/distutils/setupscript.html#installing-additional-files
# In this case, 'data_file' will be installed into '<sys.prefix>/my_data'
data_files=[('my_data', ['data/data_file'])],
#data_files=[('my_data', ['data/data_file'])],

# To provide executable scripts, use entry points in preference to the
# "scripts" keyword. Entry points provide cross-platform support and allow
# pip to create the appropriate form of executable for the target platform.
entry_points={
'console_scripts': [
'sample=sample:main',
],
},
#entry_points={
# 'console_scripts': [
# 'sample=sample:main',
# ],
#},
)

0 comments on commit 9b7c86f

Please sign in to comment.