forked from pybrain/pybrain
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
41 lines (29 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
40
41
#! /usr/bin/env python2.5
# -*- coding: utf-8 -*-
__author__ = 'Justin S Bayer, [email protected]'
import os
import sys
from setuptools import setup, find_packages
from distutils.ccompiler import new_compiler
sys.path.append('./arac/')
import aracsetuphelpers as aracsetup
try:
aracsetup.compile_arac()
aracsetup.compile_swig()
except Exception, e:
print "Fast networks are not available: %s" % e
setup(
name="PyBrain",
version="0.3pre",
description="PyBrain is the swiss army knife for neural networking.",
license="BSD",
keywords="Neural Networks Machine Learning",
url="http://pybrain.org",
packages=find_packages(exclude=['examples', 'docs']) +
find_packages('./arac/src/python'),
include_package_data=True,
package_dir={'arac': './arac/src/python/arac'},
package_data={'arac': ['_cppbridge.so']},
data_files=[(os.path.join(sys.prefix, 'lib'), ['libarac.so'])],
test_suite='pybrain.tests.runtests.make_test_suite',
)