Skip to content

Commit

Permalink
setup.py: don't install tests, use package_data rather than MANIFEST.in
Browse files Browse the repository at this point in the history
  • Loading branch information
lafrech committed Mar 29, 2017
1 parent 0b0a49c commit edde241
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 0 additions & 1 deletion MANIFEST.in

This file was deleted.

6 changes: 4 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,11 @@
# You can just specify the packages manually here if your project is
# simple. Or you can use find_packages().
# packages=find_packages(exclude=['contrib', 'docs', 'tests']),
packages=find_packages(),
package_dir={'flask_rest_api': 'flask_rest_api'},
packages=find_packages(exclude=['tests*']),
include_package_data=True,
package_data={
'': ['spec/templates/*'],
},

# List run-time dependencies here. These will be installed by pip when
# your project is installed. For an analysis of "install_requires" vs pip's
Expand Down

0 comments on commit edde241

Please sign in to comment.