-
Notifications
You must be signed in to change notification settings - Fork 2
/
setup.py
51 lines (32 loc) · 1.36 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
from distutils.core import setup
from setuptools import find_packages
from itertools import chain
import os
# User-friendly description from README.md
current_directory = os.path.dirname(os.path.abspath(__file__))
try:
with open(os.path.join(current_directory, 'README.md'), encoding='utf-8') as f:
long_description = f.read()
except Exception:
long_description = ''
EXTRAS_REQUIRE = {'rus_stress':['udar', 'tqdm'],
'pre_process':['pysbd'],
'scraping':['beautifulsoup4', 'requests']}
EXTRAS_REQUIRE['full'] = list(set(chain(*EXTRAS_REQUIRE.values())))
setup(
name='biBooks',
packages=find_packages('.'),
version='0.1',
license='MIT',
description='This repository allows the creation of an ebook with text passages alternating in two languages for the purpose of language learning.',
long_description=long_description,
long_description_content_type='text/markdown',
author='Philipp Schoneville',
author_email='[email protected]',
url='https://github.com/pschonev',
download_url='https://github.com/pschonev/biBooks',
keywords=['language learning', 'learning', 'ebook'],
install_requires=['jsonargparse', 'regex', 'numpy', 'cython', 'torch', 'fastBPE', 'transliterate'],
extras_require=EXTRAS_REQUIRE,
classifiers=['Development Status :: 4 - Beta', 'Operating System :: POSIX :: Linux', 'Programming Language :: Python']
)