forked from pystruct/pystruct
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
44 lines (41 loc) · 1.83 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
44
from setuptools import setup
from setuptools.extension import Extension
import numpy as np
import os
if os.path.exists('MANIFEST'):
os.remove('MANIFEST')
setup(name="pystruct",
version="0.2.3",
install_requires=["ad3"],
packages=['pystruct', 'pystruct.learners', 'pystruct.inference',
'pystruct.models', 'pystruct.utils', 'pystruct.datasets',
'pystruct.tests', 'pystruct.tests.test_learners',
'pystruct.tests.test_models', 'pystruct.tests.test_inference',
'pystruct.tests.test_utils'],
include_package_data=True,
description="Structured Learning and Prediction in Python",
author="Andreas Mueller",
author_email="t3kcit@gmail.com",
url="http://pystruct.github.io",
license="BSD 2-clause",
use_2to3=True,
ext_modules=[Extension("pystruct.models.utils", ["src/utils.c"]),
Extension("pystruct.inference._viterbi",
["pystruct/inference/_viterbi.c"])],
classifiers=['Intended Audience :: Science/Research',
'Intended Audience :: Developers',
'License :: OSI Approved',
'Programming Language :: Python',
'Topic :: Scientific/Engineering',
'Operating System :: Microsoft :: Windows',
'Operating System :: POSIX',
'Operating System :: Unix',
'Operating System :: MacOS',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.3',
],
include_dirs=[np.get_include()]
)