django-selectable / setup.py

Mark Lavin fcd2e57 


















Mark Lavin b830da2 
Mark Lavin fcd2e57 

Mark Lavin 7787ffa 
Mark Lavin aabc63a 
Mark Lavin fcd2e57 


Mark Lavin dd1cea7 
Mark Lavin d400b46 

Mark Lavin fcd2e57 
Mark Lavin dd1cea7 


Mark Lavin fcd2e57 


Mark Lavin d747ea4 
Mark Lavin 71d8f65 
Mark Lavin fcd2e57 
import os
from setuptools import setup, find_packages


def read_file(filename):
    """Read a file into a string"""
    path = os.path.abspath(os.path.dirname(__file__))
    filepath = os.path.join(path, filename)
    try:
        return open(filepath).read()
    except IOError:
        return ''


setup(
    name='django-selectable',
    version=__import__('selectable').__version__,
    author='Mark Lavin',
    author_email='markdlavin@gmail.com',
    packages=find_packages(exclude=['example']),
    include_package_data=True,
    url='http://bitbucket.org/mlavin/django-selectable',
    license='BSD',
    description=' '.join(__import__('selectable').__doc__.splitlines()).strip(),
    classifiers=[
        'Intended Audience :: Developers',
        'License :: OSI Approved :: BSD License',
        'Programming Language :: Python',        
        'Programming Language :: Python :: 2.6',
        'Programming Language :: Python :: 2.7',
        'Topic :: Software Development :: Libraries :: Python Modules',
        'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
        'Framework :: Django',
        'Development Status :: 5 - Production/Stable',
        'Operating System :: OS Independent',
    ],
    long_description=read_file('README.rst'),
    test_suite="runtests.runtests",
    tests_require=['mock', ],
    zip_safe=False, # because we're including media that Django needs
)
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.