Files
gnat-gdb-scripts/setup.py
Pierre-Marie de Rodat 305439776b Add py.typed so that gnatdbg users can easily use Mypy
TN: V707-013
Change-Id: Ief7bd7b5768a9a6444f0cff4a1ce5fb9df7ee07d
2022-07-07 11:41:13 +00:00

26 lines
675 B
Python
Executable File

#! /usr/bin/env python
import os.path
from setuptools import setup
# The actual version is stored in a separate file to ease automatic updates
version_file = os.path.join(os.path.dirname(__file__), "VERSION")
with open(version_file) as f:
version = f.read().strip()
setup(
name="GNATdbg",
version=version,
author="AdaCore",
author_email="report@adacore.com",
url="https://github.com/AdaCore/gnat-gdb-scripts",
description="Python helpers in GDB to deal with the GNAT runtime for Ada",
packages=["gnatdbg"],
# This requires to be run in GDB's embedded Python interpreter
requires=[],
package_data={"gnatdbg": ["py.typed"]},
)