Example #1
0
from os.path import dirname, join
from setuptools import setup, find_packages

from contacts import get_version


def fread(fn):
    with open(join(dirname(__file__), fn), 'r') as f:
        return f.read()

setup(
    author = 'George Hickman',
    author_email = '*****@*****.**',
    description = 'Provide a way to push a list of contacts to phone handsets via their base station.',
    install_requires = ('django-extensible-profiles>=0.6', 'vobject>=0.8.1c',),
    long_description = fread('README.md'),
    name = 'contacts',
    packages = find_packages(),
    url = 'http://github.com/incuna/incuna-contacts',
    version = get_version(),
)

from setuptools import setup, find_packages
import contacts
import os

try:
    long_description = open('README.rst').read()
except IOError:
    long_description = ''

try:
    reqs = open(os.path.join(os.path.dirname(__file__), 'requirements.txt')).read()
except (IOError, OSError):
    reqs = ''

setup(
    name='django-backbeat-contacts',
    version=contacts.get_version(),
    description='A pluggable contact management app.',
    long_description=long_description,
    author='Douglas Meehan',
    author_email='*****@*****.**',
    include_package_data=True,
    url='http://github.com/dmeehan/django-backbeat-contacts',
    packages=find_packages(),
    classifiers=[
        'Framework :: Django',
    ],
    install_requires = reqs,
    dependency_links = []
)