1 Star 1 Fork 0

Guanjun/funcat

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
setup.py 1.27 KB
一键复制 编辑 原始数据 按行查看 历史
#!/usr/bin/env python
# -*- coding: utf-8 -*-
#
from os.path import dirname, join
from setuptools import (
find_packages,
setup,
)
try: # for pip >= 10
from pip._internal.req import parse_requirements
except ImportError: # for pip <= 9.0.3
from pip.req import parse_requirements
try:
req = [str(ir.req) for ir in parse_requirements("requirements.txt", session=False)]
except:
req = [str(ir.requirement) for ir in parse_requirements("requirements.txt", session=False)]
with open(join(dirname(__file__), 'funcat/VERSION.txt'), 'rb') as f:
version = f.read().decode('ascii').strip()
setup(
name='funcat',
version=version,
description='funcat',
packages=find_packages(exclude=[]),
author='Hua Liang',
url='https://github.com/cedricporter/funcat',
author_email='et@everet.org',
license='Apache License v2',
package_data={'': ['*.*']},
install_requires=req,
zip_safe=False,
classifiers=[
'Programming Language :: Python',
'Operating System :: Microsoft :: Windows',
'Operating System :: Unix',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
],
)
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/mapicccy/funcat.git
git@gitee.com:mapicccy/funcat.git
mapicccy
funcat
funcat
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385