提交 afa753c4 authored 作者: Olivier Delalleau's avatar Olivier Delalleau

Added .c files to setup.py to properly install the new lazylinker_c.c file --…

Added .c files to setup.py to properly install the new lazylinker_c.c file -- also removed tabs in setup.py
上级 0cc0a9d9
...@@ -105,13 +105,13 @@ if not release: ...@@ -105,13 +105,13 @@ if not release:
a = open(filename, 'w') a = open(filename, 'w')
try: try:
try: try:
a.write(cnt % {'version': VERSION, a.write(cnt % {'version': VERSION,
'full_version' : FULL_VERSION, 'full_version' : FULL_VERSION,
'hg_revision' : HG_REVISION, 'hg_revision' : HG_REVISION,
'isrelease': str(ISRELEASED)}) 'isrelease': str(ISRELEASED)})
except Exception, e: except Exception, e:
print e print e
finally: finally:
a.close() a.close()
...@@ -131,7 +131,8 @@ def do_setup(): ...@@ -131,7 +131,8 @@ def do_setup():
packages=find_packages(), packages=find_packages(),
install_requires=['numpy>=1.3.0', 'scipy>=0.7.0'], install_requires=['numpy>=1.3.0', 'scipy>=0.7.0'],
package_data={ package_data={
'': ['*.txt', '*.rst', '*.cu', '*.cuh', '*.sh', 'ChangeLog'], '': ['*.txt', '*.rst', '*.cu', '*.cuh', '*.c', '*.sh',
'ChangeLog'],
'theano.misc': ['*.sh'] 'theano.misc': ['*.sh']
}, },
keywords=' '.join([ keywords=' '.join([
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论