浏览代码

Included static files + oscar default fixtures in MANIFEST.in and added "include_package_data = True" to setup class (seems required for python 2.7.1 on MacOSX Lion)

master
Julien Maupetit 13 年前
父节点
当前提交
0774299f27
共有 2 个文件被更改,包括 4 次插入1 次删除
  1. 3
    1
      MANIFEST.in
  2. 1
    0
      setup.py

+ 3
- 1
MANIFEST.in 查看文件

@@ -1,3 +1,5 @@
1 1
 include *.rst
2 2
 recursive-include oscar/templates *.txt *.html
3
-recursive-include oscar/apps *.json
3
+recursive-include oscar/apps *.json
4
+recursive-include oscar/fixtures *.json
5
+recursive-include oscar/static *

+ 1
- 0
setup.py 查看文件

@@ -23,6 +23,7 @@ setup(name='django-oscar',
23 23
       license='BSD',
24 24
       platforms=['linux'],
25 25
       packages=find_packages(exclude=["*.tests"]),
26
+      include_package_data = True,
26 27
       install_requires=[
27 28
           'django>=1.3',
28 29
           'PIL',

正在加载...
取消
保存