我最近换成了python3。我正试图以与使用python2.7时相同的精神创建一个简单的包。但是,由于某些原因,包看起来是空的。你知道吗
setup(
name="test_py"
, version="0.1"
, description="'test_py' package"
, author=""
, author_email=""
, maintainer=""
, maintainer_email=""
, long_description="'test_py' package and extensions\n"
, packages=['test_py'
,'test_py.test_py'
,'test_py.func'
,'test_py.test']
, package_dir={'test_py.test_py':'test_py/test_py'}
, package_data={'test_py.test_py': c_libs}
)
<^ > ^ {< CD1>}包含C++扩展库。你知道吗所有相关目录都有\uuu init \uuuuuuy.py文件,其内容如下
from test_py import *
所有这些在Python2.7中都工作得很好,但到目前为止在Python3.4中还没有成功。有什么想法吗?你知道吗
目前没有回答
相关问题 更多 >
编程相关推荐