-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
executable file
·24 lines (20 loc) · 803 Bytes
/
setup.py
File metadata and controls
executable file
·24 lines (20 loc) · 803 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/usr/bin/env python
from __future__ import absolute_import
from gnatpython import __version__
from setup_helpers import (
build_scripts_gnatpython, build_ext_gnatpython, get_extension_list)
from setuptools import setup, find_packages
import distutils.file_util
import glob
import os
setup(name='gnatpython',
version=__version__,
author="AdaCore",
author_email="report@adacore.com",
packages=find_packages(),
ext_modules=get_extension_list(),
cmdclass={'build_ext': build_ext_gnatpython(),
'build_scripts': build_scripts_gnatpython()},
install_requires = ['colorama', 'pyyaml', 'python-dateutil'],
extras_require = {":sys_platform=='win32'": ['pypiwin32']},
scripts=[f for f in glob.glob('scripts/*') if os.path.isfile(f)])