-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
56 lines (50 loc) · 1.68 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
#!/usr/bin/env python3
#
# Copyright (c) 2023 Cauldron Development LLC.
import re
from setuptools import setup
with open('README.md', 'r') as f:
long_description = f.read()
description = '''
Parser and expander for Wikipedia, Wiktionary etc. dump files, with Lua
execution support.
'''
lualib = 'lua/mediawiki-extensions-Scribunto/includes/engines/LuaCommon/lualib'
setup(
name = 'wikimunge',
version = '0.0.1',
description = re.sub(r'\s+', ' ', description).strip(),
long_description = long_description,
long_description_content_type = 'text/markdown',
author = 'Joseph Coffland',
author_email = '[email protected]',
url = 'https://github.com/cauldrondevelopmentllc/wikimunge',
license = 'GPL3+ (some included files have other free licences)',
download_url = 'https://github.com/cauldrondevelopmentllc/wikimunge',
scripts = [],
packages = ['wikimunge'],
package_data = {
'wikimunge': [
'lua/*.lua',
'lua/mediawiki-extensions-Scribunto/COPYING',
lualib + '/*.lua',
lualib + '/ustring/*.lua',
lualib + '/luabit/*.lua',
'data/*/*'
]
},
install_requires = ['lupa', 'dateparser'],
keywords = ['dictionary', 'wiktionary', 'wikipedia', 'data extraction',
'wikitext', 'scribunto', 'lua'],
classifiers = [
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: GPL3+ License',
'Natural Language :: English',
'Operating System :: POSIX :: Linux',
'Programming Language :: Python',
'Programming Language :: Python :: 3 :: Only',
'Topic :: Text Processing',
'Topic :: Text Processing :: Linguistic',
])