diff --git a/MANIFEST.in b/MANIFEST.in index 3adf836..f84c2f7 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -1,4 +1,2 @@ -recursive-include templates * -recursive-include static * -recursive-include themes * +recursive-include prosopopee/themes * include requirements.txt diff --git a/setup.py b/setup.py index b30e664..27e6a73 100644 --- a/setup.py +++ b/setup.py @@ -1,7 +1,6 @@ #!/usr/bin/python # -*- coding:Utf-8 -*- -import os from setuptools import setup try: @@ -30,6 +29,6 @@ setup(name='prosopopee', keywords='', include_package_data=True, package_data={ - 'prosopopee': ["themes/*/*/*/*"] + ["static/%s/*" % x for x in os.listdir("./prosopopee/static/")] + ['templates/*.html', 'templates/sections/*'], + 'prosopopee': ["themes/*/*", "themes/*/*/*", "themes/*/*/*/*"], }, )