-
Notifications
You must be signed in to change notification settings - Fork 2
/
setup.py
39 lines (35 loc) · 1021 Bytes
/
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
37
38
39
import distribute_setup
distribute_setup.use_setuptools()
from setuptools import setup, Extension
cpghstore = Extension(
'cpghstore', sources=['src/cpghstore.c'], extra_compile_args=['-O3']
)
CLASSIFIERS = [
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: C',
'Programming Language :: Python',
'Topic :: Database',
'Topic :: Software Development :: Libraries :: Python Modules',
]
LONG_DESCRIPTION = None
try:
LONG_DESCRIPTION = open('README.rst').read()
except:
pass
setup(
name='cpghstore',
version='0.1',
description='Fast postgres hstore parser.',
long_description=LONG_DESCRIPTION,
author='Robert Kajic',
author_email='robert@{nospam}kajic.com',
url='https://github.com/kajic/cpghstore',
license='MIT',
platforms=['any'],
ext_modules=[cpghstore],
classifiers=CLASSIFIERS,
test_suite='tests',
)