mirror of
https://github.com/cs01/gdbgui
synced 2024-11-16 07:47:46 +01:00
be9521751f
* update yarn.lock and python version * update requirements.txt * fix type errors * update flask socket io version and use apt instead of apt get * update install gdb command * set node env var to fix installation * set node env var to fix installation2 * fix typescript errors * run prettier * update pyinstaller version * update pex version
80 lines
2.2 KiB
Python
80 lines
2.2 KiB
Python
#!/usr/bin/env python
|
|
|
|
import os
|
|
import distutils.text_file # type: ignore
|
|
|
|
USING_WINDOWS = os.name == "nt"
|
|
if USING_WINDOWS:
|
|
raise RuntimeError(
|
|
"Windows is not supported at this time. "
|
|
+ "Versions lower than 0.14.x. are Windows compatible."
|
|
)
|
|
import io
|
|
from setuptools import find_packages, setup # type: ignore
|
|
|
|
CURDIR = os.path.abspath(os.path.dirname(__file__))
|
|
|
|
EXCLUDE_FROM_PACKAGES = ["tests"]
|
|
|
|
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()
|
|
)
|
|
|
|
setup(
|
|
name="gdbgui",
|
|
version=VERSION,
|
|
author="Chad Smith",
|
|
author_email="chadsmith.software@gmail.com",
|
|
description="Browser-based frontend to gdb. Debug C, C++, Go, or Rust.",
|
|
long_description=README,
|
|
long_description_content_type="text/markdown",
|
|
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.cli:main"
|
|
]
|
|
},
|
|
zip_safe=False,
|
|
install_requires=distutils.text_file.TextFile(
|
|
filename="./requirements.txt"
|
|
).readlines(),
|
|
classifiers=[
|
|
"Intended Audience :: Developers",
|
|
"Operating System :: MacOS",
|
|
"Operating System :: Unix",
|
|
"Operating System :: POSIX",
|
|
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
|
|
"Programming Language :: Python",
|
|
"Programming Language :: Python :: 3",
|
|
],
|
|
python_requires=">=3.6",
|
|
project_urls={
|
|
"Documentation": "https://cs01.github.io/gdbgui/",
|
|
"Source Code": "https://github.com/cs01/gdbgui",
|
|
"Bug Tracker": "https://github.com/cs01/gdbgui/issues",
|
|
},
|
|
)
|