2 Star 1 Fork 1

红薯 / Py3Soup

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
setup.py 1.69 KB
一键复制 编辑 原始数据 按行查看 历史
Winter Lau 提交于 2017-03-11 22:17 . init
# -*- coding: utf-8 -*-
import setuptools # noqa
from distutils.core import setup
import io
import re
import os
DOC = '''TODO'''
def read(*names, **kwargs):
return io.open(
os.path.join(os.path.dirname(__file__), *names),
encoding=kwargs.get("encoding", "utf8")
).read()
def find_version(*file_paths):
version_file = read(*file_paths)
version_match = re.search(r"^__version__ = ['\"]([^'\"]*)['\"]",
version_file, re.M)
if version_match:
return version_match.group(1)
raise RuntimeError("Unable to find version string.")
setup(name='PySoup',
version=find_version('__init__.py'),
description='该项目是 JSoup 的 Python 语言移植版本。',
long_description=DOC,
author='Winter Lau',
author_email='javayou@gmail.com',
url='http://git.oschina.net/ld/PySoup',
license='Apache',
install_requires=[
],
classifiers=[
'Intended Audience :: Developers',
'Operating System :: OS Independent',
'Natural Language :: Chinese (Simplified)',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.5',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.2',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Topic :: Utilities'
],
keywords='PySoup, JSoup',
include_package_data=True,
zip_safe=False,
packages=[])
Python
1
https://gitee.com/ld/PySoup.git
git@gitee.com:ld/PySoup.git
ld
PySoup
Py3Soup
master

搜索帮助

53164aa7 5694891 3bd8fe86 5694891