|
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
|
|
|
|