-
Notifications
You must be signed in to change notification settings - Fork 53
/
setup.py
37 lines (32 loc) · 1.08 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
#!/usr/bin/env python
import os
import numpy as np
from setuptools import setup, find_packages
from Cython.Build import cythonize
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
print(find_packages())
setup(
name = 'nnet',
version = '0.1',
author = 'Anders Boesen Lindbo Larsen',
author_email = '[email protected]',
description = "Neural networks in NumPy/Cython",
license = 'MIT',
url = 'http://compute.dtu.dk/~abll',
packages = find_packages(),
install_requires = ['numpy', 'scipy', 'cython'],
long_description = read('README.md'),
classifiers = [
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Topic :: Scientific/Engineering',
],
ext_modules = cythonize(['nnet/convnet/conv.pyx',
'nnet/convnet/pool.pyx']),
include_dirs = [np.get_include()]
)