From 7040b014c330053ac12bbf9113ef676a3e6a281c Mon Sep 17 00:00:00 2001 From: Simon Marchi Date: Sat, 9 May 2015 23:01:36 -0400 Subject: [PATCH] Install data files with package --- MANIFEST.in | 2 ++ setup.py | 24 +++++++++++++----------- 2 files changed, 15 insertions(+), 11 deletions(-) create mode 100644 MANIFEST.in diff --git a/MANIFEST.in b/MANIFEST.in new file mode 100644 index 0000000..723b04a --- /dev/null +++ b/MANIFEST.in @@ -0,0 +1,2 @@ +graft biciklo/static +graft biciklo/templates diff --git a/setup.py b/setup.py index ee61f38..89d9c94 100644 --- a/setup.py +++ b/setup.py @@ -1,14 +1,16 @@ -from setuptools import setup, find_packages +from setuptools import setup setup( - name = 'Biciklo', - version = '1.0', - packages = find_packages(), - entry_points = { - 'console_scripts': ['biciklo-inventaire=biciklo.biciklo:main'], - }, - install_requires = [ - 'pymongo', - 'flask', - ] + name='Biciklo', + version='1.0', + packages=['biciklo'], + entry_points={ + 'console_scripts': ['biciklo-inventaire=biciklo.biciklo:main'], + }, + install_requires=[ + 'pymongo', + 'flask', + ], + zip_safe=False, + include_package_data=True, )