cmsplugin-faq / setup.py

The cms-2.X branch has multiple heads

from setuptools import setup, find_packages
import os
import cmsplugin_faq
media_files = []

for dirpath, dirnames, filenames in os.walk('cmsplugin_faq'):
    media_files.append([dirpath, [os.path.join(dirpath, f) for f in filenames]])

setup(
    author="tehfink",
    name='cmsplugin-faq',
    version=cmsplugin_faq.__version__,
    description='creates, links, and lists FAQ entries for Django CMS',
    long_description=open(os.path.join(os.path.dirname(__file__), 'README.txt')).read(),
    url='http://bitbucket.org/tehfink/cmsplugin-faq/',
    license='BSD License',
    platforms=['OS Independent'],
    requires=[
        'django (>1.1.0)',
        'cms (>2.0.0)',
    ],
    
    packages=find_packages(),
    package_dir={
        'cmsplugin_faq': 'cmsplugin_faq',
    },
    data_files = media_files,
    package_data = {
        'cmsplugin_faq': [
            'templates/plugins/cmsplugin_faq/*.html',
        ],
    },
    zip_safe = False
)
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.