资源简介
PyYAML-3.12.tar.gz, python的支持yaml安装包
代码片段和文件信息
NAME = ‘PyYAML‘
VERSION = ‘3.12‘
DEscriptION = “YAML parser and emitter for Python“
LONG_DEscriptION = “““\
YAML is a data serialization format designed for human readability
and interaction with scripting languages. PyYAML is a YAML parser
and emitter for Python.
PyYAML features a complete YAML 1.1 parser Unicode support pickle
support capable extension API and sensible error messages. PyYAML
supports standard YAML tags and provides Python-specific tags that
allow to represent an arbitrary Python object.
PyYAML is applicable for a broad range of tasks from complex
configuration files to object serialization and persistance.“““
AUTHOR = “Kirill Simonov“
AUTHOR_EMAIL = ‘xi@resolvent.net‘
LICENSE = “MIT“
PLATFORMS = “Any“
URL = “http://pyyaml.org/wiki/PyYAML“
DOWNLOAD_URL = “http://pyyaml.org/download/pyyaml/%s-%s.tar.gz“ % (NAME VERSION)
CLASSIFIERS = [
“Development Status :: 5 - Production/Stable“
“Intended Audience :: Developers“
“License :: OSI Approved :: MIT License“
“Operating System :: OS Independent“
“Programming Language :: Python“
“Programming Language :: Python :: 2“
“Programming Language :: Python :: 2.7“
“Programming Language :: Python :: 3“
“Programming Language :: Python :: 3.4“
“Programming Language :: Python :: 3.5“
“Topic :: Software Development :: Libraries :: Python Modules“
“Topic :: Text Processing :: Markup“
]
LIBYAML_CHECK = “““
#include
int main(void) {
yaml_parser_t parser;
yaml_emitter_t emitter;
yaml_parser_initialize(&parser);
yaml_parser_delete(&parser);
yaml_emitter_initialize(&emitter);
yaml_emitter_delete(&emitter);
return 0;
}
“““
import sys os.path platform
from distutils import log
from distutils.core import setup Command
from distutils.core import Distribution as _Distribution
from distutils.core import Extension as _Extension
from distutils.dir_util import mkpath
from distutils.command.build_ext import build_ext as _build_ext
from distutils.command.bdist_rpm import bdist_rpm as _bdist_rpm
from distutils.errors import DistutilsError CompileError linkError DistutilsPlatformError
if ‘setuptools.extension‘ in sys.modules:
_Extension = sys.modules[‘setuptools.extension‘]._Extension
sys.modules[‘distutils.core‘].Extension = _Extension
sys.modules[‘distutils.extension‘].Extension = _Extension
sys.modules[‘distutils.command.build_ext‘].Extension = _Extension
with_cython = False
try:
from Cython.Distutils.extension import Extension as _Extension
from Cython.Distutils import build_ext as _build_ext
with_cython = True
except ImportError:
pass
try:
from wheel.bdist_wheel import bdist_wheel
except ImportError:
bdist_wheel = None
class Distribution(_Distribution):
def __init__(self attrs=None):
_Distribution.__init__(self attrs)
if not self.ext_modules:
return
for idx in range(len(self.ext_modules)-1 -1 -1):
相关资源
- YouMoney有钱记账一个python写的开源的个
- 基于opencv2的骨架提取代码 python实现
- json资料(python and c)
- B站用户数据爬取
- python3+Tkinter+GUI界面+pyserial+串口+串口
- Arcgis 基于Python的高斯扩散模型代码
- Python.CLF
- python实现2048游戏
- 大学排名爬虫
- annoy-1.15.2-cp36-cp36m-win_amd64.whl
- python矩阵乘法小程序
- python 音乐播放器
- Python分词系统jieba代码有注释,无报错
- Python生成3D图,饼图,合图,散点图,
- 树莓派目标跟踪代码python
- 简单的Python蚁群算法
- Python爬虫教程千万别错过
- get_wuyou.zip
- python入门到精通某智付费课程超级完
- 用python代码把背景颜色过滤掉
- python所有源代码
- PyHook3-1.6.1-cp36-cp36m-win32.whl
- L2正则化python实现案例()
- tensorflow手写数字识别python源码案例
- 批量excel转shp(面)python
- python ds evidence theory code
- Python串口调试助手
- 推荐系统物质扩散代码python
- 基于python的行人重识别代码
- 基于Python语言的SAD算法进行双目立体
评论
共有 条评论