代码拉取完成,页面将自动刷新
#import "setuptools"
var long_description = io.readfile("README.md");
/*
如果你需要编译多平台,请指定platfrom 告知编译器使用哪套方案. 可以根据不同平台传递不同的目录地址
var module_all = { platfrom:"linux",sources :['src/demo.cpp'],
include_dirs:['/usr/local/include'],
libraries:["curl"],
library_dirs = ['/usr/local/lib']
define_macros=[{TEST_DEFINE:"test"}] };
*/
var module1 = { platfrom:"all",sources :['src/demo.cpp']};
setuptools::setup({
username:"YOUR-USERNAME-HERE",
name:"testlib",
version:"0.0.1",
author:"Example Author",
author_email:"author@example.com",
description:"A small example package",
long_description:long_description,
long_description_content_type:"text/markdown",
url:"https://github.com/pypa/sampleproject",
packages:setuptools::find_packages(),
platfrom:"windows", // windows or linux or macos or all
ext_modules:[module1],
cpps_requires:'>=1.0',
});
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。