{ "info": { "author": "MaxiL", "author_email": "maxil@interserv.com.tw", "bugtrack_url": null, "classifiers": [ "Development Status :: 1 - Planning", "Intended Audience :: Developers", "License :: OSI Approved :: Python Software Foundation License", "Programming Language :: Python", "Topic :: Security", "Topic :: Software Development :: Libraries :: Python Modules", "Topic :: Utilities" ], "description": "\ufeff\n\u900f\u904e cython \u5c07 script \u8f49\u63db\u6210 c \u6a21\u7d44, \n\u52a0\u5feb\u57f7\u884c\u901f\u5ea6, \u4f7f\u6e90\u59cb\u78bc\u66f4\u96e3\u7834\u89e3.....\n\n\u8f49\u63db\u904e\u7a0b\u6703\u6709\u4e00\u4e9b\u4e4b error \u88ab\u6aa2\u67e5\u51fa\u4f86, \n\u8b8a\u6578\u672a\u5b9a\u7fa9, \u8a9e\u6cd5\u4e0d\u6b63\u78ba\u7b49...\n\u56e0\u70ba\u8981\u5148\u8f49\u63db\u70ba C\uff0c\u6240\u4ee5\u4e00\u4e9b\u4e0d\u5e38\u8dd1\u5230\u7684\u7a0b\u5f0f\u78bc, \n\u50cf\u4e00\u4e9b\u6e2c\u8a66\u7528\u7684\uff0c\u5c31\u4e0d\u80fd\u88ab\u8f49\u63db, \n\u53e6\u5916\u4e00\u4e9b\u4f7f\u7528\u5230\u5167\u5efa\u7684\u8b8a\u6578\u5982 __file__ \u7684\u6a94\u6848\u4e5f\u4e0d\u9069\u5408\u8f49\u63db, \n\u5217\u5728 keep_source \u7684\u9805\u76ee\u88e1\u5c31\u6703\u4fdd\u7559\u907f\u514d\u8f49\u63db\u6210 c \u6a21\u7d44,\n\ntab \u548c \u7a7a\u767d\u5728\u540c\u4e00\u500b\u6a94\u6848\u4e5f\u4e0d\u80fd\u6df7\u7528, \n\u5982\u679c\u7528\u6df7\u7528\u5230\u8acb\u5c07\u5c11\u6578\u7684\u90e8\u4efd\u4fee\u6b63\n\n\u4e00\u4e9b\u5982 config \u7684\u6a94\u6848\u4e0d\u5e0c\u671b\u5728\u89e3\u58d3\u6642\u8986\u84cb\u5230\u539f\u672c\u4fee\u6539\u597d\u7684\u8a2d\u5b9a, \n\u8a2d\u5b9a\u5728 exclude \u88e1\u9762\n\n\u56e0\u70ba\u4f7f\u7528 c \u8a9e\u8a00\u800c\u4e14\u4f7f\u7528\u4e86\u6700\u4f73\u5316\u7684\u9078\u9805, \n\u56e0\u6b64 20 \u500b\u6a94\u6848\u5927\u7d04\u9700\u8981 5 \u5206\u9418\u8f49\u63db\u7684\u6642\u9593\n\ncython \u53ef\u4ee5\u6df7\u5408\u4f7f\u7528 python \u8a9e\u6cd5\u548c cython \u8a9e\u6cd5, \n\u5373\u4f7f\u4e0d\u4f7f\u7528 cython \u7684\u8a9e\u6cd5\u4e5f\u53ef\u4ee5, \n\u4f7f\u7528 cython \u8a9e\u6cd5\u53ef\u4ee5\u52a0\u901f\u904b\u7b97\n\n\u53e6\u5916 cython \u53ef\u4ee5\u63a7\u5236 gil lock, \n\u53ef\u4ee5\u5728\u5b89\u5168\u7684\u7bc4\u570d\u5167\u91cb\u653e gli\n\n::\n\n\twith nogil:\n\t\t' do something '\n\n\u4f7f\u7528 cython \u57f7\u884c\u901f\u5ea6\u53ef\u4ee5\u548c c \u4e00\u6a23\u5feb\nhttp://blog.csdn.net/gzlaiyonghao/article/details/4561611\n\n\n1.\u5728 Windows \u4e2d\u5982\u679c\u6709\u5b89\u88dd MSVC 2008 \u4ee5\u5916\u7684\u7248\u672c\n\t\u8981\u5148\u6e96\u5099\u597d\u958b\u767c\u74b0\u5883\n\t\u4f8b\u5982\uff1a\n\n::\n\n\t\"%VS100COMNTOOLS%vsvars32.bat\"\n\tset DISTUTILS_USE_SDK=1\n\tset MSSdk=1\n\n2.\u57f7\u884c\n\n::\n\n\tpython cython_setup.py build_ext --inplace\n\n\u6c92\u6709\u932f\u8aa4\u7684\u8a71\u6703\u7522\u751f\u4e00\u500b zip", "description_content_type": null, "docs_url": null, "download_url": "https://github.com/maxi119/py-ace", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "UNKNOWN", "keywords": null, "license": "UNKNOWN", "maintainer": null, "maintainer_email": null, "name": "py-ace", "package_url": "https://pypi.org/project/py-ace/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/py-ace/", "project_urls": { "Download": "https://github.com/maxi119/py-ace", "Homepage": "UNKNOWN" }, "release_url": "https://pypi.org/project/py-ace/0.0.4/", "requires_dist": null, "requires_python": null, "summary": "make all python script as c extention with cython", "version": "0.0.4" }, "last_serial": 1513146, "releases": { "0.0.3": [ { "comment_text": "", "digests": { "md5": "b485dd31a3b887abfbbb978391173ee8", "sha256": "8606a157e78075071b79e64da46b0313e9f5bb49a8237ece0d2532f5a9f4bdc1" }, "downloads": -1, "filename": "py-ace-0.0.3.zip", "has_sig": false, "md5_digest": "b485dd31a3b887abfbbb978391173ee8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7994, "upload_time": "2014-05-28T14:47:08", "url": "https://files.pythonhosted.org/packages/97/ca/7e1ec0399a8a723f2260ce381f9d5ab89afa36da80f81bb0b27e4ba115d5/py-ace-0.0.3.zip" } ], "0.0.4": [] }, "urls": [] }