-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
43 lines (37 loc) · 1.28 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
37
38
39
40
41
42
43
import os
from setuptools.extension import Extension
from setuptools.command.build_ext import build_ext
from setuptools import setup
def read(fname):
with open(os.path.join(os.path.dirname(__file__), fname)) as f:
return f.read()
ext_modules = [
Extension(
name='skipdict',
sources=['skipdict.c', 'skiplist.c'],
depends=['skiplist.h'],
),
]
setup(name="skipdict",
version="1.0",
description="Python dictionary object permanently sorted by value.",
long_description="\n\n".join((read('README.rst'), read('CHANGES.rst'))),
license="BSD",
author="Malthe Borch",
author_email="[email protected]",
cmdclass=dict(build_ext=build_ext),
ext_modules=ext_modules,
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Programming Language :: C',
'Programming Language :: Python :: 2.7',
"Programming Language :: Python :: 3.3",
"Programming Language :: Python :: 3.4",
'Topic :: Software Development :: Libraries :: Python Modules',
],
url="https://github.com/malthe/skipdict",
zip_safe=False,
test_suite="tests",
py_modules=['skipdict'])