[fix] make this damn setup.py accept my static files.

This commit is contained in:
Laurent Peuch 2015-12-09 08:45:41 +01:00
parent a412dc71c7
commit 6ee2d9406b
23 changed files with 9 additions and 5 deletions

View File

@ -1 +1,3 @@
include templates/* static/*
recursive-include templates *
recursive-include static *
include requirements.txt

0
prosopopee/__init__.py Normal file
View File

0
prosopopee → prosopopee/prosopopee.py Executable file → Normal file
View File

View File

Before

Width:  |  Height:  |  Size: 7.7 KiB

After

Width:  |  Height:  |  Size: 7.7 KiB

View File

Before

Width:  |  Height:  |  Size: 1.4 MiB

After

Width:  |  Height:  |  Size: 1.4 MiB

View File

Before

Width:  |  Height:  |  Size: 1.1 MiB

After

Width:  |  Height:  |  Size: 1.1 MiB

View File

Before

Width:  |  Height:  |  Size: 168 KiB

After

Width:  |  Height:  |  Size: 168 KiB

View File

Before

Width:  |  Height:  |  Size: 86 KiB

After

Width:  |  Height:  |  Size: 86 KiB

View File

@ -11,14 +11,16 @@ setup(name='prosopopee',
author_email='cortex@worlddomination.be',
url='https://github.com/Psycojoker/prosopopee',
install_requires=open("./requirements.txt", "r").read().split(),
packages=[],
packages=['prosopopee'],
py_modules=[],
license= 'GPLv3+',
scripts=['prosopopee'],
scripts=[],
entry_points={
'console_scripts': ['prosopopee = prosopopee.prosopopee:main']
},
keywords='',
include_package_data=True,
package_data={
'static': ['*.css', '*.js'],
'templates': ['*.html'],
'prosopopee': ['static/css/*', 'static/js/*', 'static/img/*', 'templates/*.html', 'templates/sections/*'],
},
)