gecko-dev/xpcom/idl-parser/setup.py
Peter Elmers f0de749c69 Bug 1183291 - Factor idl-parser into a Python package. r=khuey
Move Python code into an xpidl subdirectory, and include a setup.py to allow
inclusion from pip install or requirements files. Change build directory
variables appropriately.

--HG--
rename : xpcom/idl-parser/Makefile.in => xpcom/idl-parser/xpidl/Makefile.in
rename : xpcom/idl-parser/header.py => xpcom/idl-parser/xpidl/header.py
rename : xpcom/idl-parser/moz.build => xpcom/idl-parser/xpidl/moz.build
rename : xpcom/idl-parser/runtests.py => xpcom/idl-parser/xpidl/runtests.py
rename : xpcom/idl-parser/typelib.py => xpcom/idl-parser/xpidl/typelib.py
rename : xpcom/idl-parser/xpidl.py => xpcom/idl-parser/xpidl/xpidl.py
2015-07-13 13:09:11 -07:00

16 lines
432 B
Python

from setuptools import setup, find_packages
setup(
name='xpidl',
version='1.0',
description='Parser and header generator for xpidl files.',
author='Mozilla Foundation',
license='MPL 2.0',
packages=find_packages(),
install_requires=['ply>=3.6,<4.0'],
url='https://github.com/pelmers/xpidl',
entry_points={'console_scripts': ['header.py = xpidl.header:main']},
keywords=['xpidl', 'parser']
)