mirror of
https://github.com/AdaCore/langkit.git
synced 2026-02-12 12:28:12 -08:00
36 lines
950 B
Python
Executable File
36 lines
950 B
Python
Executable File
#! /usr/bin/env python
|
|
|
|
"""Setup configuration file for the Langkit framework."""
|
|
|
|
from __future__ import absolute_import, division, print_function
|
|
|
|
from distutils.core import setup
|
|
import os
|
|
|
|
|
|
ROOT_DIR = os.path.dirname(__file__)
|
|
|
|
if ROOT_DIR != '':
|
|
os.chdir(ROOT_DIR)
|
|
|
|
# Run the setup tools
|
|
setup(
|
|
name='Langkit',
|
|
version='0.1-dev',
|
|
author='AdaCore',
|
|
author_email='report@adacore.com',
|
|
url='https://www.adacore.com',
|
|
description='A Python framework to generate language parsers',
|
|
requires=['Mako', 'coverage', 'PyYAML', 'enum', 'enum34', 'funcy'],
|
|
packages=['langkit',
|
|
'langkit.expressions',
|
|
'langkit.gdb',
|
|
'langkit.stylechecks',
|
|
'langkit.utils'],
|
|
package_data={'langkit': [
|
|
'support/*.adb', 'support/*.ads', 'support/*.gpr',
|
|
'templates/*.mako', 'templates/*/*.mako'
|
|
]},
|
|
scripts=[os.path.join('scripts', 'create-project.py')]
|
|
)
|