1 Star 0 Fork 0

abel/somepackage

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
setup.py 1.17 KB
一键复制 编辑 原始数据 按行查看 历史
from setuptools import setup
import os
import sys
_here = os.path.abspath(os.path.dirname(__file__))
if sys.version_info[0] < 3:
with open(os.path.join(_here, 'README.rst')) as f:
long_description = f.read()
else:
with open(os.path.join(_here, 'README.rst'), encoding='utf-8') as f:
long_description = f.read()
version = {}
with open(os.path.join(_here, 'somepackage', 'version.py')) as f:
exec(f.read(), version)
setup(
name='somepackage',
version=version['__version__'],
description=('Show how to structure a Python project.'),
long_description=long_description,
author='Bruce Wayne',
author_email='bruce.wayne@example.com',
url='https://github.com/bast/somepackage',
license='MPL-2.0',
packages=['somepackage'],
# no dependencies in this example
# install_requires=[
# 'dependency==1.2.3',
# ],
# no scripts in this example
# scripts=['bin/a-script'],
include_package_data=True,
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Science/Research',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.6'],
)
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/PythonIoT/somepackage.git
git@gitee.com:PythonIoT/somepackage.git
PythonIoT
somepackage
somepackage
master

搜索帮助

D67c1975 1850385 1daf7b77 1850385