1 Star 0 Fork 0

Huoty/ipython-language-magic

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
setup.py 1.06 KB
一键复制 编辑 原始数据 按行查看 历史
Huoty 提交于 2024-06-16 22:41 +08:00 . 支持C/C++语言
# 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()
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/konghy/ipython-language-magic.git
git@gitee.com:konghy/ipython-language-magic.git
konghy
ipython-language-magic
ipython-language-magic
master

搜索帮助