Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.

Commit 21eafef

Browse files
author
Patrick Lauber
committed
fixes django-cms#291 example is not installed anymore
fixes django-cms#292 media files stay where they are if installed changelog updated
1 parent bcaa32a commit 21eafef

File tree

3 files changed

+16
-40
lines changed

3 files changed

+16
-40
lines changed

CHANGELOG.txt

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,13 @@
1010
==== 2.0.2 (2009-12-14) ====
1111

1212
- testsuite working again
13-
- changelog file added
13+
- changelog file added
14+
15+
==== 2.1.0 (2010-XX-XX) ====
16+
17+
- language namespaces for apphooks (reverse("de:myview"), reverse("en:myview"))
18+
- video plugin switch to https://github.com/FlashJunior/OSFlashVideoPlayer
19+
- frontediting added (cms.middlware.toolbar.ToolbarMiddleware)
20+
- testsuite works now under sqlite and postgres
21+
- orphaned text embed plugins get now deleted if not referenced in the text anymore
22+
- a lot of bugfixes

MANIFEST.in

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@ include AUTHORS
22
include LICENSE
33
include README.md
44
include CHANGELOG.txt
5+
recursive-include cms/locale *
56
recursive-include cms/templates *
67
recursive-include cms/media *
7-
recursive-include cms/docs *.html *.css *.js *.png
8-
recursive-include cms/plugins/*/templates *
9-
recursive-include example/templates *
10-
recursive-include cms/fixtures *.json
8+
recursive-include cms/docs *.txt *.png
9+
recursive-include cms/plugins/ *
10+
recursive-include cms/models/fixtures *.json
1111
recursive-include mptt/tests/fixtures *.json
1212

setup.py

Lines changed: 2 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,6 @@
11
from setuptools import setup, find_packages
22
import os
33
import cms
4-
media_files = []
5-
6-
for dirpath, dirnames, filenames in os.walk('cms/media'):
7-
media_files.append([dirpath, [os.path.join(dirpath, f) for f in filenames]])
84

95
setup(
106
author="Patrick Lauber",
@@ -31,36 +27,7 @@
3127
requires=[
3228
'django (>1.1.0)',
3329
],
34-
35-
packages=find_packages(),
36-
package_dir={
37-
'cms': 'cms',
38-
'mptt': 'mptt',
39-
'publisher': 'publisher',
40-
},
41-
data_files = media_files,
42-
package_data = {
43-
'cms': [
44-
'templates/admin/*.html',
45-
'templates/admin/cms/mail/*.html',
46-
'templates/admin/cms/mail/*.txt',
47-
'templates/admin/cms/page/*.html',
48-
'templates/admin/cms/page/*/*.html',
49-
'templates/cms/*.html',
50-
'templates/cms/toolbar/*.html',
51-
'templates/admin/*.html',
52-
'plugins/*/templates/cms/plugins/*.html',
53-
'plugins/*/templates/cms/plugins/*/*.html',
54-
'plugins/*/templates/cms/plugins/*/*.js',
55-
'locale/*/LC_MESSAGES/*'
56-
],
57-
'example': [
58-
'templates/*.html',
59-
'store/templates/store/plugins/*.html',
60-
'sampleapp/media/sampleapp/img/gift.jpg',
61-
'sampleapp/templates/sampleapp/*.html',
62-
'categories/templates/categories/*.html',
63-
]
64-
},
30+
packages=find_packages(exclude=["example", "example.*"]),
31+
include_package_data=True,
6532
zip_safe = False
6633
)

0 commit comments

Comments
 (0)