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.

Install   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 4
Duplicated Lines 0 %
Metric Value
wmc 1
dl 0
loc 4
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A run() 0 3 1
1
#!/usr/bin/env python3
2
from setuptools import setup, find_packages
3
from setuptools.command.install import install as _install
4
5
6
def read(filename):
7
    try:
8
        with open(filename) as f:
9
            return f.read()
10
    except NameError:
11
        with open(filename, 'r') as f:
12
            return f.read()
13
14
long_description = u'\n\n'.join([read('README.rst'),
15
                                 read('CREDITS.rst'),
16
                                 read('CHANGES.rst')])
17
18
19
class Install(_install):
20
    def run(self):
21
        _install.run(self)
22
        print("Post Install")
23
24
version = '0.3.1.dev0'
25
26
setup(
27
        name='saruman',
28
        version=version,
29
        packages=find_packages(),
30
        url='https://github.com/tychota/saruman',
31
        license='MIT',
32
        author='tychota',
33
        author_email='[email protected]',
34
        description='A firewall that leverage AMQP workqueue ! Build by iresam for iresam !',
35
        long_description=long_description,
36
        install_requires=[
37
            'celery==3.1.19',
38
            'plumbum==1.6.1.post0',
39
            'click==6.2',
40
            'colorlog==2.6.0',
41
            'zest.releaser==6.4',
42
            'coverage==4.0.3',
43
            'pyyaml==3.11',
44
            'pygments',
45
            'sphinx_bootstrap_theme'
46
        ],
47
        test_suite="tests",
48
        entry_points='''
49
            [console_scripts]
50
            saruman=saruman.__main__:cli
51
        ''',
52
        cmdclass={'install': Install},
53
        zip_safe=False,
54
        keywords=['firewall', 'amqp', 'nftables', 'dhcp, reverse-proxy'],
55
        classifiers=[
56
            'Development Status :: 2 - Pre-Alpha',
57
            'Environment :: Console',
58
            'Intended Audience :: System Administrators',
59
            'Natural Language :: English',
60
            'Natural Language :: French',
61
            'Operating System :: POSIX :: Linux',
62
            'Topic :: Internet :: Name Service (DNS)',
63
            'Topic :: Internet :: Proxy Servers',
64
            'Topic :: System :: Networking',
65
            'Topic :: System :: Networking :: Firewalls',
66
            'License :: OSI Approved :: MIT License',
67
            'Programming Language :: Python :: 3.3',
68
            'Programming Language :: Python :: 3.4',
69
        ],
70
)
71