This repository has been archived by the owner on May 27, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 12
/
setup.py
36 lines (30 loc) · 1.23 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
from setuptools import setup, Extension
sourcefiles = ["palm/palm.c", "palm/palmcore.c"]
setup(
name="palm",
version="0.1.9",
packages=["palm", "palm.palmc", ],
ext_modules=[Extension("palm.palm", sources=sourcefiles)],
install_requires=["simpleparse >=2.1",
"protobuf>=2.4.1,<=2.4.999"],
zip_safe=False, # This fixes some crazy circular import junk.
entry_points='''
[console_scripts]
palmc = palm.palmc.main:run
''',
url="https://github.com/bumptech/palm",
description="Fast Protocol Buffer library for Python",
long_description='''
palm - Protobufs Are Lightweight Messages
=========================================
palm is a library for using Google's protocol buffers in Python. It has
a fast core written in C with a thin Cython binding to Python. The goal of
palm was to make improvements to the Google reference implementation, namely:
* Make the library significantly faster
* Clean up the API
While the palm developers feel that the second goal has been achieved, the
first goal undoubtely has: palm is 40-60x faster than the pure-python
protobuf-2.3 library.
Palm was developed for use at bu.mp .
'''
)