forked from BigfootDev/flatbuffers
Implement code generation and self-contained runtime library for Python.
The test suite verifies:
- Correctness of generated Python code by comparing output to that of
the other language ports.
- The exact bytes in the Builder buffer during many scenarios.
- Vtable deduplication correctness.
- Edge cases for table construction, via a fuzzer derived from the Go
implementation.
- All code is simultaneously valid in Python 2.6, 2.7, and 3.4.
The test suite includes benchmarks for:
- Building 'gold' data.
- Parsing 'gold' data.
- Deduplicating vtables.
All tests pass on this author's system for the following Python
implementations:
- CPython 2.6.7
- CPython 2.7.8
- CPython 3.4.2
- PyPy 2.5.0 (CPython 2.7.8 compatible)
18 lines
580 B
Python
18 lines
580 B
Python
from setuptools import setup
|
|
|
|
setup(
|
|
name='flatbuffers',
|
|
version='0.1',
|
|
license='BSD',
|
|
author='FlatBuffers Contributors',
|
|
author_email='me@rwinslow.com',
|
|
url='https://github.com/google/flatbuffers/python',
|
|
long_description=('Python runtime library and code generator for use with'
|
|
'the Flatbuffers serialization format.'),
|
|
packages=['flatbuffers'],
|
|
include_package_data=True,
|
|
requires=[],
|
|
description=('Runtime library and code generator for use with the '
|
|
'Flatbuffers serialization format.'),
|
|
)
|