-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py2X_37under
50 lines (47 loc) · 1.77 KB
/
setup.py2X_37under
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
40
41
42
43
44
45
46
47
48
49
50
#!/usr/bin/env python
# coding=utf-8
import os
from distutils.core import setup, Extension
#from mdbm import __version__
# read a desc
f = open(os.path.join(os.path.dirname(__file__), 'README.rst'))
long_description = f.read()
f.close()
setup(name = "py-mdbm",
#version = __version__,
version = "0.1.0a",
author="Torden",
author_email="[email protected]",
maintainer='Torden',
maintainer_email='[email protected]',
keywords=['mdbm', 'key-value store', 'pymdbm', 'py-mdbm', 'database', 'nosql', 'key-value'],
description="The Python interface to the MDBM key-value store.",
long_description=long_description,
license="MIT",
url="https://github.com/torden/py-mdbm",
classifiers=[
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"Intended Audience :: System Administrators",
"License :: OSI Approved :: MIT License",
"Topic :: Database",
"Topic :: Database :: Database Engines/Servers",
"Topic :: Utilities",
"Programming Language :: C",
"Programming Language :: Python :: 2.6",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3.3",
"Programming Language :: Python :: 3.4",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: Implementation :: PyPy",
"Operating System :: POSIX :: Linux"
],
ext_modules = [Extension("mdbm",
sources = ["src/libmdbm.c"],
include_dirs = ['/usr/include', '/usr/local/mdbm/include'],
libraries = ['mdbm'],
extra_compile_args=['-Wall','-Wno-strict-aliasing', '-march=native'],
library_dirs = ['/usr/lib64', '/usr/local/mdbm/lib64/'],
)]
)