Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tag: release-1.0.0
Fetching contributors…

Cannot retrieve contributors at this time

file 39 lines (36 sloc) 1.237 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39
from setuptools import setup, find_packages
import os
import appmedia
media_files = []

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

setup(
    author="Patrick Lauber",
    author_email="digi@treepy.com",
    name='django-appmedia',
    version=appmedia.__version__,
    description='Handling django app media',
    long_description=open(os.path.join(os.path.dirname(__file__), 'README.md')).read(),
    platforms=['OS Independent'],
    classifiers=[
        'Development Status :: 5 - Production/Stable',
        'Environment :: Web Environment',
        'Framework :: Django',
        'Intended Audience :: Developers',
        'License :: OSI Approved :: BSD License',
        'Operating System :: OS Independent',
        'Programming Language :: Python',
        'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
        'Topic :: Software Development',
        'Topic :: Software Development :: Libraries :: Application Frameworks',
    ],
    requires=[
        'django (>1.1.0)',
    ],
    
    packages=find_packages(),
    package_dir={
        'appmedia': 'appmedia',
    },
    data_files = media_files,
    zip_safe = False
)
Something went wrong with that request. Please try again.