-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
executable file
·88 lines (78 loc) · 1.93 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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
import os
from setuptools import setup
def _read(fn):
path = os.path.join(os.path.dirname(__file__), fn)
return open(path).read()
setup(
name='bdnex',
version='0.1',
description='BD (french comic) tagger and library organizer',
author='Laurent Besnard',
author_email='besnard.laurent@gmail.com',
url='https://bdnex.io/',
license='MIT',
platforms='ALL',
long_description=_read('README.md'),
test_suite='test',
zip_safe=False,
include_package_data=True, # Install plugin resources.
packages=[
'bdnex',
'bdnex.conf',
'bdnex.lib',
'bdnex.ui'
],
package_data={ # Optional
"bdnex.conf": ["*.json",
"*.ini",
"ComicInfo.xsd"],
},
entry_points={
'console_scripts': [
'bdnex = bdnex.ui:main',
],
},
install_requires=[
'InquirerPy',
'argparse',
'beautifulsoup4',
'duckduckgo-search',
'html5lib', # bs4 dependency
'imutils',
'lxml', # bs4 dependency
'numpy',
'opencv-contrib-python-headless',
'pandas',
'patool',
'pyyaml',
'rapidfuzz',
'rarfile',
'tenacity',
'termcolor',
'thefuzz',
'xmldiff',
'xmlschema',
],
extras_require={
'dev': [
'pytest',
'ipdb'
]
},
tests_require=[
'pytest',
'ipdb'
],
classifiers=[
'License :: OSI Approved :: MIT License',
'Environment :: Console',
'Environment :: Web Environment',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: Implementation :: CPython',
],
)