stuf / setup.py

Lynn Rees e804f8a 
Lynn Rees d129475 
Lynn Rees 275cdfa 
Lynn Rees b886ff6 
Lynn Rees ee70792 
Lynn Rees 275cdfa 

Lynn Rees 7d527ed 
Lynn Rees b886ff6 
Lynn Rees 83a9c21 

Lynn Rees 63f664c 
Lynn Rees 83a9c21 

Lynn Rees f6c3a2f 
Lynn Rees 83a9c21 
Lynn Rees 2e802b7 
Lynn Rees 6be4251 




Lynn Rees ee70792 
Lynn Rees b886ff6 

Lynn Rees 83a9c21 
Lynn Rees 2e802b7 

Lynn Rees 275cdfa 


Lynn Rees b886ff6 
Lynn Rees 275cdfa 
Lynn Rees ddbee66 
Lynn Rees 7d527ed 
Lynn Rees 08ebd60 
Lynn Rees ee70792 

Lynn Rees b886ff6 
Lynn Rees bc58cb5 
Lynn Rees 275cdfa 






Lynn Rees b886ff6 

Lynn Rees d1d8a7e 
Lynn Rees 9108c41 
Lynn Rees 6be4251 
Lynn Rees 275cdfa 
Lynn Rees b886ff6 



Lynn Rees ee70792 
#! /usr/bin/env python
# -*- coding: utf-8 -*-
'''setup for stuf'''

import sys
from os import getcwd
from os.path import join
from setuptools import setup, find_packages


def getversion(fname):
    '''Get __version__ without importing.'''
    for line in open(fname):
        if line.startswith('__version__'):
            return '%s.%s.%s' % eval(line[13:].rstrip())


if float('%d.%d' % sys.version_info[:2]) < 2.7:
    reqs = 'reqs/requires-2.6.txt'
else:
    reqs = 'reqs/requires.txt'
install_requires = list(l for l in open(join(getcwd(), reqs), 'r').readlines())

setup(
    name='stuf',
    version=getversion('stuf/__init__.py'),
    description='Normal, default, ordered, chained, restricted, counter, and '
    'frozen dictionaries with attribute-style access.',
    long_description=open(join(getcwd(), 'README.rst'), 'r').read(),
    keywords='dict attribute collection mapping dot notation access bunch',
    license='BSD',
    author='L. C. Rees',
    author_email='lcrees@gmail.com',
    url='https://bitbucket.org/lcrees/stuf',
    packages=find_packages(),
    test_suite='stuf.tests',
    zip_safe=False,
    install_requires=install_requires,
    classifiers=[
        'Development Status :: 5 - Production/Stable',
        'Intended Audience :: Developers',
        'License :: OSI Approved :: BSD License',
        'Natural Language :: English',
        'Operating System :: OS Independent',
        'Programming Language :: Python',
        'Programming Language :: Python :: 2',
        'Programming Language :: Python :: 3',
        'Programming Language :: Python :: 2.6',
        'Programming Language :: Python :: 2.7',
        'Programming Language :: Python :: 3.1',
        'Programming Language :: Python :: 3.2',
        'Programming Language :: Python :: 3.3',
        'Programming Language :: Python :: Implementation :: CPython',
        'Topic :: Software Development',
        'Topic :: Software Development :: Libraries',
        'Topic :: Utilities',
    ],
)
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.