资源简介
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):
相关资源
- 二级考试python试题12套(包括选择题和
- pywin32_python3.6_64位
- python+ selenium教程
- PycURL(Windows7/Win32)Python2.7安装包 P
- 英文原版-Scientific Computing with Python
- 7.图像风格迁移 基于深度学习 pyt
- 基于Python的学生管理系统
- A Byte of Python(简明Python教程)(第
- Python实例174946
- Python 人脸识别
- Python 人事管理系统
- 基于python-flask的个人博客系统
- 计算机视觉应用开发流程
- python 调用sftp断点续传文件
- python socket游戏
- 基于Python爬虫爬取天气预报信息
- python函数编程和讲解
- Python开发的个人博客
- 基于python的三层神经网络模型搭建
- python实现自动操作windows应用
- python人脸识别(opencv)
- python 绘图(方形、线条、圆形)
- python疫情卡UN管控
- python 连连看小游戏源码
- 基于PyQt5的视频播放器设计
- 一个简单的python爬虫
- csv文件行列转换python实现代码
- Python操作Mysql教程手册
- Python Machine Learning Case Studies
- python获取硬件信息
评论
共有 条评论