Skip to content

Commit

Permalink
Setup fix (for Windows)
Browse files Browse the repository at this point in the history
  • Loading branch information
schaul committed Jul 10, 2009
1 parent da18b23 commit de258ab
Showing 1 changed file with 36 additions and 41 deletions.
77 changes: 36 additions & 41 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,41 +1,36 @@
#! /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',
)
#! /usr/bin/env python2.5
# -*- coding: utf-8 -*-


__author__ = 'Justin S Bayer, [email protected]'


import os
import sys

from setuptools import setup, find_packages

try:
sys.path.append('./arac/')
import aracsetuphelpers as aracsetup
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',
)

0 comments on commit de258ab

Please sign in to comment.