cmsplugin-photologue / setup.py

#!/usr/bin/env python
from setuptools import setup, find_packages
import os
import cmsplugin_photologue
media_files = []

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

setup(
    author="tehfink",
    name='cmsplugin-photologue',
    version=cmsplugin_photologue.__version__,
    description='plugin bridge between django-cms & django-photologue',
    long_description=open(os.path.join(os.path.dirname(__file__), 'README.txt')).read(),
    url='http://bitbucket.org/tehfink/cmsplugin-photologue/',
    license='BSD License',
    platforms=['OS Independent'],
    requires=[
        'django (>=1.1.0)',
        'cms (>=2.0.2)',
    ],
    
    packages=find_packages(),
    package_dir={
        'cmsplugin_photologue': 'cmsplugin_photologue',
    },
    data_files = media_files,
    package_data = {
        'cmsplugin_photologue': [
            'templates/*.html',
            'templates/plugins/cmsplugin_photologue/*.html',
        ],
    },
    include_package_data=True,
    install_requires=['setuptools'],
    zip_safe = False,
    classifiers = [
        'Development Status :: 4 - Beta',
        'Environment :: Web Environment',
        'Intended Audience :: Developers',
        'License :: OSI Approved :: BSD License',
        'Operating System :: OS Independent',
        'Programming Language :: Python',
        'Framework :: Django',
    ],

)
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.