1 Star 0 Fork 34

小为/Py3Cache

forked from 红薯/Py3Cache 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
setup.py 1.70 KB
一键复制 编辑 原始数据 按行查看 历史
hustcc 提交于 2017-03-09 10:50 . add setup.py, v0.1.0.dev0
# -*- 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='Py3Cache',
version=find_version('__init__.py'),
description=(u'该项目是 J2Cache 的 Python 语言移植版本。'),
long_description=DOC,
author='ld',
author_email='ld',
url='http://git.oschina.net/ld',
license='MIT',
install_requires=[
'redis',
'Beaker'
],
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='Py3Cache, J2Cache',
include_package_data=True,
zip_safe=False,
packages=[])
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Python
1
https://gitee.com/hustcc/Py3Cache.git
git@gitee.com:hustcc/Py3Cache.git
hustcc
Py3Cache
Py3Cache
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385