2015-08-13 12:54:03 +02:00
|
|
|
#! /usr/bin/env python
|
|
|
|
|
|
2015-12-03 12:06:05 +01:00
|
|
|
"""Setup configuration file for the Langkit framework."""
|
2015-08-13 12:54:03 +02:00
|
|
|
|
|
|
|
|
from distutils.core import setup
|
2015-12-03 14:54:11 +01:00
|
|
|
import os
|
2015-08-13 12:54:03 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
ROOT_DIR = os.path.dirname(__file__)
|
|
|
|
|
|
|
|
|
|
if ROOT_DIR != '':
|
|
|
|
|
os.chdir(ROOT_DIR)
|
|
|
|
|
|
|
|
|
|
# Run the setup tools
|
|
|
|
|
setup(
|
|
|
|
|
name='Langkit',
|
2023-05-05 10:36:57 +02:00
|
|
|
version='0.1.0',
|
2015-08-13 12:54:03 +02:00
|
|
|
author='AdaCore',
|
|
|
|
|
author_email='report@adacore.com',
|
|
|
|
|
url='https://www.adacore.com',
|
|
|
|
|
description='A Python framework to generate language parsers',
|
2020-05-26 13:49:04 +02:00
|
|
|
install_requires=['Mako', 'PyYAML', 'funcy', 'docutils', 'e3-core'],
|
2018-01-02 12:58:58 +01:00
|
|
|
packages=['langkit',
|
|
|
|
|
'langkit.expressions',
|
|
|
|
|
'langkit.gdb',
|
2019-03-27 14:27:49 +01:00
|
|
|
'langkit.lexer',
|
2024-01-29 02:37:11 +01:00
|
|
|
'langkit.scripts',
|
2018-01-02 12:58:58 +01:00
|
|
|
'langkit.stylechecks',
|
|
|
|
|
'langkit.utils'],
|
2016-04-24 10:56:11 +02:00
|
|
|
package_data={'langkit': [
|
2020-03-12 14:41:21 +01:00
|
|
|
'coverage.css', 'support/*.adb', 'support/*.ads', 'support/*.gpr',
|
2024-08-20 15:03:44 +02:00
|
|
|
'support/*.adc', 'templates/*.mako', 'templates/*/*.mako', 'py.typed',
|
2023-01-08 16:20:05 +01:00
|
|
|
'adasat/src/*.ads', 'adasat/src/*.adb'
|
2016-04-24 10:56:11 +02:00
|
|
|
]},
|
2023-12-04 21:39:19 +00:00
|
|
|
entry_points={
|
|
|
|
|
"console_scripts": [
|
|
|
|
|
"create-project.py = langkit.scripts.create_project:main",
|
2024-12-02 17:06:02 +01:00
|
|
|
"generate-msvc-lib-file.py ="
|
2024-12-16 10:05:00 +01:00
|
|
|
" langkit.scripts.generate_msvc_lib_file:main",
|
2025-01-07 09:56:05 +00:00
|
|
|
"lkm = langkit.scripts.lkm:main",
|
2023-12-04 21:39:19 +00:00
|
|
|
]
|
|
|
|
|
},
|
2015-08-13 12:54:03 +02:00
|
|
|
)
|