我分叉了一个存储库,修改了一些文件,用一个文件添加了新的文件夹static/slideshows/css
。你知道吗
当我执行“pip install git+https://github.com/TitanFighter/emencia-django-slideshows.git”时,pip
会安装所有内容(包括修改过的文件),但static/slideshows/css/slideshows.css
除外。你知道吗
当我做git clone
的时候,一切都很好。你知道吗
setup.py
是分叉的,没有修改:
from setuptools import setup, find_packages
setup(
name='emencia-django-slideshows',
version=__import__('slideshows').__version__,
description=__import__('slideshows').__doc__,
long_description=open('README.rst').read(),
author='David Thenon',
author_email='dthenon@emencia.com',
url='http://pypi.python.org/pypi/emencia-django-slideshows',
license='MIT',
packages=find_packages(),
classifiers=[
'Programming Language :: Python',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Development Status :: 5 - Production/Stable',
'Environment :: Web Environment',
'Framework :: Django',
'Framework :: Django :: 1.7',
'Intended Audience :: Developers',
'Topic :: Internet :: WWW/HTTP',
'Topic :: Software Development :: Libraries :: Python Modules',
],
install_requires=['Django>=1.7'],
include_package_data=True,
zip_safe=False
)
如何修复?你知道吗
有必要将
recursive-include slideshows/static *
添加到MANIFEST.in
文件中。你知道吗相关问题 更多 >
编程相关推荐