2017-11-26 21:13:38 +01:00
|
|
|
#!/usr/bin/env python
|
|
|
|
|
2017-03-02 14:33:34 +01:00
|
|
|
import io
|
2017-11-26 21:13:38 +01:00
|
|
|
import os
|
2019-08-11 18:15:26 +02:00
|
|
|
from setuptools import find_packages, setup # type: ignore
|
2017-01-29 04:35:55 +01:00
|
|
|
|
2017-11-26 21:13:38 +01:00
|
|
|
CURDIR = os.path.abspath(os.path.dirname(__file__))
|
2016-09-26 07:34:30 +02:00
|
|
|
|
2019-03-27 00:58:56 +01:00
|
|
|
EXCLUDE_FROM_PACKAGES = ["tests"]
|
2017-11-26 21:13:38 +01:00
|
|
|
REQUIRED = [
|
2018-05-26 22:45:18 +02:00
|
|
|
"Flask>=0.12.2, <1.0", # http server
|
|
|
|
"Flask-Compress>=1.4.0, <2.0", # to compress flask responses
|
|
|
|
"Flask-SocketIO>=2.9, <3.0", # websocket server
|
|
|
|
"gevent>=1.2.2, <2.0", # websocket handling
|
2020-07-13 02:16:07 +02:00
|
|
|
"gevent-websocket>=0.10.1, <0.11", # also websocket
|
|
|
|
"eventlet>=0.25.0, <0.26". # also websocket
|
2018-11-01 04:25:05 +01:00
|
|
|
"pygdbmi>=0.9.0.0, <1.0", # parse gdb output
|
2018-05-26 22:45:18 +02:00
|
|
|
"Pygments>=2.2.0, <3.0", # syntax highlighting
|
2017-11-26 21:13:38 +01:00
|
|
|
]
|
2017-01-29 04:15:28 +01:00
|
|
|
|
2018-05-26 22:45:18 +02:00
|
|
|
README = io.open(os.path.join(CURDIR, "README.md"), "r", encoding="utf-8").read()
|
|
|
|
VERSION = (
|
|
|
|
io.open(os.path.join(CURDIR, "gdbgui/VERSION.txt"), "r", encoding="utf-8")
|
|
|
|
.read()
|
|
|
|
.strip()
|
|
|
|
)
|
2017-03-04 22:29:42 +01:00
|
|
|
|
2016-09-26 07:34:30 +02:00
|
|
|
setup(
|
2018-05-26 22:45:18 +02:00
|
|
|
name="gdbgui",
|
2017-11-26 21:36:08 +01:00
|
|
|
version=VERSION,
|
2018-05-26 22:45:18 +02:00
|
|
|
author="Chad Smith",
|
|
|
|
author_email="grassfedcode@gmail.com",
|
|
|
|
description="Browser-based frontend to gdb. Debug C, C++, Go, or Rust.",
|
2017-11-26 21:13:38 +01:00
|
|
|
long_description=README,
|
2018-05-29 01:17:04 +02:00
|
|
|
long_description_content_type="text/markdown",
|
2018-05-26 22:45:18 +02:00
|
|
|
url="https://github.com/cs01/gdbgui",
|
|
|
|
license="License :: GNU GPLv3",
|
2016-09-26 07:34:30 +02:00
|
|
|
packages=find_packages(exclude=EXCLUDE_FROM_PACKAGES),
|
|
|
|
include_package_data=True,
|
2018-05-26 22:45:18 +02:00
|
|
|
keywords=[
|
|
|
|
"gdb",
|
|
|
|
"debug",
|
|
|
|
"c",
|
|
|
|
"c++",
|
|
|
|
"go",
|
|
|
|
"rust",
|
|
|
|
"python",
|
|
|
|
"machine-interface",
|
|
|
|
"parse",
|
|
|
|
"frontend",
|
|
|
|
"flask",
|
|
|
|
"browser",
|
|
|
|
"gui",
|
|
|
|
],
|
2016-09-26 07:34:30 +02:00
|
|
|
scripts=[],
|
2017-01-03 22:29:37 +01:00
|
|
|
entry_points={
|
2018-05-26 22:45:18 +02:00
|
|
|
"console_scripts": [
|
|
|
|
# allow user to type gdbgui from terminal to automatically launch
|
|
|
|
# the server and a tab in a browser
|
|
|
|
"gdbgui = gdbgui.backend:main"
|
|
|
|
]
|
2017-01-03 22:29:37 +01:00
|
|
|
},
|
2016-09-26 07:34:30 +02:00
|
|
|
zip_safe=False,
|
2017-11-26 21:13:38 +01:00
|
|
|
install_requires=REQUIRED,
|
2016-09-26 07:34:30 +02:00
|
|
|
classifiers=[
|
2018-05-26 22:45:18 +02:00
|
|
|
"Intended Audience :: Developers",
|
|
|
|
"Operating System :: OS Independent",
|
|
|
|
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
|
|
|
|
"Programming Language :: Python",
|
|
|
|
"Programming Language :: Python :: 3",
|
|
|
|
"Programming Language :: Python :: 3.6",
|
2019-08-11 17:49:53 +02:00
|
|
|
"Programming Language :: Python :: 3.7",
|
2019-10-08 03:17:31 +02:00
|
|
|
"Programming Language :: Python :: 3.8",
|
2016-09-26 07:34:30 +02:00
|
|
|
],
|
2019-08-11 18:15:26 +02:00
|
|
|
python_requires=">=3.6",
|
2019-08-11 17:49:53 +02:00
|
|
|
project_urls={
|
|
|
|
"Documentation": "https://cs01.github.io/gdbgui/",
|
|
|
|
"Source Code": "https://github.com/cs01/gdbgui",
|
|
|
|
"Bug Tracker": "https://github.com/cs01/gdbgui/issues",
|
|
|
|
},
|
2016-09-26 07:34:30 +02:00
|
|
|
)
|