-
-
Notifications
You must be signed in to change notification settings - Fork 24
/
setup.py
executable file
·67 lines (58 loc) · 2.09 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
#!/usr/bin/env python
import os
import re
from io import open
from setuptools import setup
here = os.path.dirname(__file__)
def read(filename):
with open(os.path.join(here, filename), encoding='utf-8') as f:
return f.read()
long_description = read('README.rst') + '\n\n' + read('CHANGES.rst')
version_file = os.path.join(here, 'src/irclog2html/_version.py')
d = dict(re.findall('''(__[a-z]+__) *= *'([^']*)''', read(version_file)))
version = d['__version__']
homepage = d['__homepage__']
setup(
name='irclog2html',
version=version,
author='Marius Gedminas',
author_email='marius@gedmin.as',
license='GPL v2 or v3',
platforms=['any'],
url=homepage,
description='Convert IRC logs to HTML',
long_description=long_description,
long_description_content_type='text/x-rst',
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: System Administrators',
'License :: OSI Approved :: GNU General Public License v2 (GPLv2)',
'License :: OSI Approved :: GNU General Public License v3 (GPLv3)',
'Operating System :: OS Independent',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
'Programming Language :: Python :: 3.13',
'Programming Language :: Python :: Implementation :: CPython',
'Programming Language :: Python :: Implementation :: PyPy',
],
python_requires='>=3.7',
keywords='irc log colorizer html wsgi',
extras_require=dict(test=[
"zope.testing",
]),
packages=['irclog2html'],
package_dir={'': 'src'},
include_package_data=True,
entry_points="""
[console_scripts]
irclog2html = irclog2html.irclog2html:main
logs2html = irclog2html.logs2html:main
irclogsearch = irclog2html.irclogsearch:main
irclogserver = irclog2html.irclogserver:main
""",
zip_safe=False,
)