GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.
Completed
Push — master ( 3cf44a...7f3dc8 )
by Gonzalo
01:05 queued 14s
created

get_readme()   A

Complexity

Conditions 2

Size

Total Lines 5

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 2
dl 0
loc 5
rs 9.4285
c 0
b 0
f 0
1
# -*- coding: utf-8 -*-
2
# -----------------------------------------------------------------------------
3
# Copyright (c) 2016 Continuum Analytics, Inc.
4
#
5
# May be copied and distributed freely only as part of an Anaconda or
6
# Miniconda installation.
7
# -----------------------------------------------------------------------------
8
"""ciocheck setup script."""
9
10
# Standard library imports
11
import ast
12
import os
13
14
# Third party imports
15
from setuptools import find_packages, setup
16
17
HERE = os.path.abspath(os.path.dirname(__file__))
18
19
20
def get_version():
21
    """Get ciocheck version."""
22
    with open(os.path.join(HERE, 'ciocheck', '__init__.py')) as file_obj:
23
        lines = file_obj.read().split('\n')
24
    version_info = [l for l in lines if l.startswith('VERSION_INFO')][0]
25
    version_info = ast.literal_eval(version_info.split('=')[-1].strip())
26
    return '.'.join(map(str, version_info))
27
28
29
def get_readme():
30
    """Get ciocheck README."""
31
    with open('README.md') as file_obj:
32
        readme = str(file_obj.read())
33
    return readme
34
35
36
packages = find_packages()
37
setup(
38
    name='ciocheck',
39
    version=get_version(),
40
    description='Continuum IO check/test suite',
41
    long_description=get_readme(),
42
    author='Gonzalo Pena-Castellanos',
43
    author_email='[email protected]',
44
    maintainer='Gonzalo Pena-Castellanos',
45
    maintainer_email='[email protected]',
46
    packages=packages,
47
    dependencies=[
48
        'autopep8',
49
        'coverage',
50
        'flake8',
51
        'isort',
52
        'pydocstyle',
53
        'pylint',
54
        'pytest',
55
        'pytest-cov',
56
        'pytest-json',
57
        'pytest-xdist',
58
        'six',
59
        'yapf',
60
    ],
61
    entry_points={
62
        'gui_scripts': [
63
            'ciocheck = ciocheck.main:main'
64
        ]
65
    },
66
    include_package_data=True, )
67