代码拉取完成,页面将自动刷新
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'],
)
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。