-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
28 lines (25 loc) · 913 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
import os
from setuptools import setup
# from distutils.core import setup
from distutils.extension import Extension
here = os.path.abspath(os.path.dirname(__file__))
def read(fname):
return open(os.path.join(here, fname)).read()
readme = read('README.rst')
setup(name = "sparsevectors",
version = "1.0",
description="Simple Sparse vector type based on defaultdict(float).",
long_description=readme,
author="Johann Petrak",
author_email="johann.petrak@gmail.com",
url="https://todo.org/todo",
ext_modules = [Extension("sparsevectors", ["src/_sparsevectorsmodule.c"])],
tests_require = ['nose'],
test_suite = 'nose.collector',
classifiers=[
'Development Status LL 4 - Beta',
'License :: OSI Approved :: Apache 2 License',
'Programming Language :: Python',
'Programming Language :: C',
],
)