Completed
Branch master (23b579)
by Gonzalo
01:03
created

get_version()   A

Complexity

Conditions 4

Size

Total Lines 11

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 4
dl 0
loc 11
rs 9.2
c 0
b 0
f 0
1
#!/usr/bin/env python
2
# -*- coding: utf-8 -*-
3
# -----------------------------------------------------------------------------
4
# Copyright (c) The Spyder Development Team
5
#
6
# Licensed under the terms of the MIT License
7
# (See LICENSE.txt for details)
8
# -----------------------------------------------------------------------------
9
"""Setup script for loghub."""
10
11
# Standard library imports
12
import os
13
14
# Third party imports
15
from setuptools import find_packages, setup
16
import versioneer
17
18
19
HERE = os.path.abspath(os.path.dirname(__file__))
20
21
22
def get_description():
23
    """Get long description."""
24
    with open(os.path.join(HERE, 'README.rst'), 'r') as f:
25
        data = f.read()
26
    return data
27
28
29
REQUIREMENTS = ['jinja2']
30
31
32
setup(
33
    name='loghub',
34
    version=versioneer.get_version(),
35
    cmdclass=versioneer.get_cmdclass(),
36
    keywords=["github changelog milestone"],
37
    url='https://github.com/spyder-ide/loghub',
38
    license='MIT',
39
    author='Carlos Cordoba',
40
    author_email='[email protected]',
41
    maintainer='Carlos Cordoba',
42
    maintainer_email='[email protected]',
43
    description='Generate changelogs based on Github milestones or tags',
44
    long_description=get_description(),
45
    packages=find_packages(exclude=['contrib', 'docs', 'tests*']),
46
    install_requires=REQUIREMENTS,
47
    entry_points={'console_scripts': ['loghub = loghub.main:main']},
48
    classifiers=[
49
        'Development Status :: 5 - Production/Stable',
50
        'Intended Audience :: Developers',
51
        'License :: OSI Approved :: MIT License',
52
        'Operating System :: OS Independent',
53
        'Programming Language :: Python :: 2.7',
54
        'Programming Language :: Python :: 3.4',
55
        'Programming Language :: Python :: 3.5'
56
    ])
57