Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
executable file 70 lines (62 sloc) 1.37 KB
#!/usr/bin/env python
# -*- coding: utf-8 -*-
from setuptools import setup, find_packages
import os
import flamingo
INSTALL_REQUIRES = [
'jinja2',
'docutils',
'pyyaml',
'beautifulsoup4',
]
EXTRAS_REQUIRE = {
'live-server': [
'aiohttp-json-rpc==0.12.1',
],
'chardet': [
'chardet',
],
'pygments': [
'pygments',
],
'markdown': [
'markdown',
],
'feeds': [
'feedgen==0.7.0',
],
'coloredlogs': [
'coloredlogs',
],
'ipython': [
'ipython',
]
}
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='python@pengutronix.de',
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-server',
'bin/_flamingo-shell',
],
entry_points={
'pytest11': [
'flamingo = flamingo.pytest',
],
},
)
You can’t perform that action at this time.