gdbgui/setup.py
Chad Smith 9328220bfd merge various updates to master (#137)
* make modal into react; move more from pug to react/js

* cleanup modal and settings

* convert everything to react; parse executable+args with spaces (#116)

* add gzip compression to flask

* add gzip; rename index.js to build.js

* everything in a single div id

* add javascript unit tests

* add button to toggle assembly flavors (#110); refresh state when clicking return button
2017-11-22 18:25:39 -08:00

72 lines
2.3 KiB
Python

import sys
import io
from setuptools import find_packages, setup, Command
EXCLUDE_FROM_PACKAGES = []
readme = io.open('README.rst', 'r', encoding="utf-8").read()
class TestCommand (Command):
description = 'test task'
user_options = []
def initialize_options(self):
pass
def finalize_options(self):
pass
def run(self):
# import here so dependency error on Flask is not
# raised
from gdbgui.tests import test_app
sys.exit(test_app.main())
setup(
name='gdbgui',
version='0.9.0.0',
author='Chad Smith',
author_email='grassfedcode@gmail.com',
description=('browser-based gdb frontend using Flask and JavaScript to visually debug C, C++, Go, or Rust'),
long_description=readme,
url='https://github.com/cs01/gdbgui',
license='License :: GNU GPLv3',
packages=find_packages(exclude=EXCLUDE_FROM_PACKAGES),
include_package_data=True,
keywords=['gdb', 'debug', 'c', 'c++', 'go', 'rust', 'python', 'machine-interface', 'parse', 'frontend', 'flask', 'browser', 'gui'],
scripts=[],
entry_points={
'console_scripts': [
# allow user to type gdbgui from terminal to automatically launch the server and a tab in a browser
'gdbgui = gdbgui.backend:main'
],
},
extras_require={},
zip_safe=False,
cmdclass={'test': TestCommand},
install_requires=[
'Flask>=0.12.2', # to run server
'pygdbmi>=0.7.4.4', # to parse gdb output
'pypugjs>=4.2.2', # to use .pug instead of .html
'Flask-SocketIO>=2.9.2', # for websockets
'gevent>=1.2.2', # for websockets (preferred)
'eventlet>=0.21.0', # for websockets (backup to gevent)
'Pygments>=2.2.0', # for syntax highlighting
'Flask-Compress>=1.4.0', # to compress flask responses
],
classifiers=[
'Intended Audience :: Developers',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
'Topic :: Software Development :: Libraries :: Python Modules'
],
)