Completed
Push — main ( 963be5...3918f7 )
by Jochen
04:19
created

setup   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 43
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
wmc 2
eloc 35
dl 0
loc 43
rs 10
c 0
b 0
f 0

1 Function

Rating   Name   Duplication   Size   Complexity  
A read_lines_from_file() 0 3 2
1
import codecs
2
3
from setuptools import setup
4
5
6
def read_lines_from_file(filename):
7
    with codecs.open(filename, encoding='utf-8') as f:
8
        return [line.rstrip('\n') for line in f]
9
10
11
long_description = read_lines_from_file('README.rst')
12
requirements = read_lines_from_file('requirements.txt')
13
14
15
setup(
16
    name='Weitersager',
17
    version='0.2-dev',
18
    description='A proxy to forward messages received via HTTP to to IRC',
19
    long_description=long_description,
20
    url='http://homework.nwsnet.de/releases/1cda/#weitersager',
21
    author='Jochen Kupperschmidt',
22
    author_email='[email protected]',
23
    license='MIT',
24
    classifiers=[
25
        'Intended Audience :: Developers',
26
        'Intended Audience :: Other Audience',
27
        'Intended Audience :: System Administrators',
28
        'License :: OSI Approved :: MIT License',
29
        'Operating System :: OS Independent',
30
        'Programming Language :: Python',
31
        'Programming Language :: Python :: 3',
32
        'Programming Language :: Python :: 3 :: Only',
33
        'Programming Language :: Python :: 3.7',
34
        'Programming Language :: Python :: 3.8',
35
        'Topic :: Communications :: Chat :: Internet Relay Chat',
36
        'Topic :: Internet :: WWW/HTTP',
37
        'Topic :: System :: Logging',
38
        'Topic :: System :: Systems Administration',
39
        'Topic :: Utilities',
40
    ],
41
    packages=['weitersager'],
42
    install_requires=requirements,
43
)
44