-
Notifications
You must be signed in to change notification settings - Fork 9
/
setup.py
executable file
·78 lines (71 loc) · 1.54 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
#!/usr/bin/env python
# -*- coding: utf-8 -*-
from setuptools import setup, find_packages
import os
import flamingo
INSTALL_REQUIRES = [
'jinja2>=3.0.0',
'docutils',
'pyyaml',
'beautifulsoup4',
'rlpython',
]
EXTRAS_REQUIRE = {
'live-server': [
'aiohttp>=3,<4',
'pygments',
],
'chardet': [
'chardet',
],
'pygments': [
'pygments',
],
'markdown': [
'markdown',
],
'feeds': [
'feedgen==0.9.0',
],
'thumbnails': [
'pillow',
],
'photoswipe': [
'pillow',
],
'coloredlogs': [
'coloredlogs',
],
'sphinx-themes': [
'sphinx>=4.5.0,<7.3.0',
'sphinx_rtd_theme>=1.0.0',
],
}
EXTRAS_REQUIRE['full'] = sum([v for k, v in EXTRAS_REQUIRE.items()], [])
if 'FLAMINGO_TEST' in os.environ:
INSTALL_REQUIRES = INSTALL_REQUIRES + EXTRAS_REQUIRE['full']
setup(
include_package_data=True,
name='flamingo',
version=flamingo.VERSION_STRING,
author='Florian Scherf',
url='https://github.com/pengutronix/flamingo',
author_email='[email protected]',
license='Apache License 2.0',
packages=find_packages(),
install_requires=INSTALL_REQUIRES,
extras_require=EXTRAS_REQUIRE,
scripts=[
'bin/flamingo',
'bin/_flamingo-args',
'bin/_flamingo-init',
'bin/_flamingo-build',
'bin/_flamingo-shell',
'bin/_flamingo-server',
],
entry_points={
'pytest11': [
'flamingo = flamingo.pytest',
],
},
)