代码拉取完成,页面将自动刷新
# Copyright (c) Huoty, All rights reserved
# Author: Huoty <sudohuoty@163.com>
import os
from setuptools import setup
CURRDIR = os.path.dirname(os.path.abspath(__file__))
setup_args = dict(
name='ipython-language-magic',
version='0.0.1',
description='Directly execute code in various programming languages within IPython.',
py_modules=['ipython_language_magic'],
author='huoty',
author_email='sudohuoty@163.com',
url='https://gitee.com/konghy/ipython-language-magic',
zip_safe=False,
platforms=["any"],
classifiers=[
'Programming Language :: Python',
'Programming Language :: Python :: 3',
],
)
def get_version():
version = '0.1.0'
scope = {}
version_file = os.path.join(CURRDIR, "ipython_language_magic.py")
if os.path.exists(version_file):
with open(version_file) as fp:
exec(fp.read(), scope)
version = scope.get('__version__', '1.0')
return version
def main():
setup_args["version"] = get_version()
setup(**setup_args)
if __name__ == "__main__":
main()
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。