from kdist import setup, cmdclasses, configure, parse_requirements

packages, data_files, package_dir = configure('src/python', '{{ project_name }}')
version = __import__('{{ project_name }}').get_version()

# parse requirements.txt
requirements, dependency_links = parse_requirements('requirements.txt')

setup(
    name = "{{ project_name }}",
    version = version,
    url = 'http://pypi.k-tech.it/{{ project_name }}/',
    author = 'K-Tech',
    author_email = '*****@*****.**',
    description = '',
    data_files = data_files,
    package_dir = package_dir,
    packages = packages,
    cmdclass = cmdclasses,
    install_requires = requirements,
    dependency_links = dependency_links,
    classifiers = [
        'Development Status :: 3 - Alpha',
        'Environment :: Web Environment',
        'Framework :: Django',
        'Intended Audience :: Developers',
        'License :: OSI Approved :: BSD License',
        'Operating System :: OS Independent',
        'Programming Language :: Python',
        'Programming Language :: Python :: 2.6',
        'Programming Language :: Python :: 2.7',
Example #2
0
from kdist import setup, cmdclasses, configure, parse_requirements, Nope

packages, data_files, package_dir = configure('src/python', 'colf')
version = __import__('colf').get_version()

# parse requirements.txt
requirements, dependency_links = parse_requirements('requirements.txt')

setup(
    name = "colf",
    version = version,
    url = 'http://pypi.k-tech.it/colf/',
    author = 'K-Tech',
    author_email = '*****@*****.**',
    description = '',
    data_files = data_files,
    package_dir = package_dir,
    packages = packages,
    cmdclass = cmdclasses,
    install_requires = requirements,
    dependency_links = dependency_links,
    classifiers = [
        'Development Status :: 3 - Alpha',
        'Environment :: Web Environment',
        'Framework :: Django',
        'Intended Audience :: Developers',
        'License :: OSI Approved :: BSD License',
        'Operating System :: OS Independent',
        'Programming Language :: Python',
        'Programming Language :: Python :: 2.6',
        'Programming Language :: Python :: 2.7',