包含LLVM Compiler RT模块软件数据文件的Python模块。
项目描述
pythondata-software-compiler_rt
软件编译器_rt打包进Python模块所需的非Python文件,以便它们可以与Python库和工具一起使用。
这对于与LiteX等工具一起使用非常有用。
数据文件可以在Python模块pythondata_software_compiler_rt
下找到。可以使用pythondata_software_compiler_rt.data_location
值在文件系统中找到这些文件。
直接获取数据文件的示例;
import pythondata_software_compiler_rt
my_data_file = "abc.txt"
with open(os.path.join(pythondata_software_compiler_rt.data_location, my_data_file)) as f:
print(f.read())
使用litex.data.find
API获取数据文件的示例;
from pythondata_software_compiler_rt import data_file
my_data_file = "abc.txt"
with open(data_file(my_data_file)) as f:
print(f.read())
数据文件来自https://git.llvm.org/git/compiler-rt.git/,并使用git subtrees
导入到目录pythondata_software_compiler_rt/data中。
从git仓库安装
手动
您可以手动安装该软件包,但是**不建议**这样做。
git clone https://github.com/litex-hub/pythondata-software-compiler_rt.git
cd pythondata-software-compiler_rt
sudo python setup.py install
使用与git仓库一起的pip
您可以使用pip直接从github安装数据包,方法如下;
pip install --user git+https://github.com/litex-hub/pythondata-software-compiler_rt.git
如果您想为整个系统安装而不是仅针对当前用户,则需要删除--user
参数,并以sudo运行,如下所示;
sudo pip install git+https://github.com/litex-hub/pythondata-software-compiler_rt.git
您可以使用以下方式安装存储库的特定版本;
pip install --user git+https://github.com/litex-hub/pythondata-software-compiler_rt.git@<tag>
pip install --user git+https://github.com/litex-hub/pythondata-software-compiler_rt.git@<branch>
pip install --user git+https://github.com/litex-hub/pythondata-software-compiler_rt.git@<hash>
使用requirements.txt
文件
使用以下方法将Python的requirements.txt
文件添加到其中;
-e git+https://github.com/litex-hub/pythondata-software-compiler_rt.git
要使用存储库的特定版本,请使用以下方法;
-e https://github.com/litex-hub/pythondata-software-compiler_rt.git@<hash>
从PyPi安装
使用pip
pip install --user pythondata-software-compiler_rt
项目详情
关闭
pythondata-software-compiler_rt-0.0.post6206.tar.gz的哈希值
算法 | 哈希摘要 | |
---|---|---|
SHA256 | 8923634c4fcfd75b58ea134668ae98649d7272908723c34a5836037e939c99ae |
|
MD5 | f0a2af9aee24bc726aafbd272d516309 |
|
BLAKE2b-256 | ee465d2fddbb929be50e85bdddcb3ae5d82eaa51b12810bd1324dd9286b0dc68 |
关闭
pythondata_software_compiler_rt-0.0.post6206-py3.10.egg 的哈希值
算法 | 哈希摘要 | |
---|---|---|
SHA256 | 8e20affe34f264c14ba9dbf26607189dae421c71cf8639672ba95c54e0520daa |
|
MD5 | 4495bcce9aba99d9c2ec4025affd2e27 |
|
BLAKE2b-256 | a4f3b0028ae2ca438aa1523c00d1930d5dec8c31790c3b3705143c5a5933eded |
关闭
pythondata_software_compiler_rt-0.0.post6206-py3.8.egg 的哈希值
算法 | 哈希摘要 | |
---|---|---|
SHA256 | 83c14009fb7a0a1417be6ae7684ade64f75d2c889cd2a40f7eacb8f826728750 |
|
MD5 | f34d8955e66aaf73c2f7c2e2f07659ef |
|
BLAKE2b-256 | e2248844ab85a4c64ef35d7cdb0b4bae4db21ac8f2cc4002381f2e65b9042534 |
关闭
pythondata_software_compiler_rt-0.0.post6206-py3.7.egg 的哈希值
算法 | 哈希摘要 | |
---|---|---|
SHA256 | f1008ef7b3e2000b80e305efaeb3c3f5ada5859961c4fbb7a59e38ee494fa7fa |
|
MD5 | 7e52ef80e37e0e36bb2cdbbe064b3673 |
|
BLAKE2b-256 | 853ac3fa1dde074c083bd80d4db42b1e57b6548d42735c4c344c1c4e9722d798 |
关闭
pythondata_software_compiler_rt-0.0.post6206-py3.6.egg 的哈希值
算法 | 哈希摘要 | |
---|---|---|
SHA256 | da8262d3116c83b209a3b0155372a377f767d7a956fae98db82f3eded4e644d8 |
|
MD5 | 7cf80b8107f90ad4bf5056ad04bf4905 |
|
BLAKE2b-256 | 666d830142edd65fe15d6262033728a93c7cba283170dc65ad0d5e19dacdad30 |
关闭
pythondata_software_compiler_rt-0.0.post6206-py3.5.egg 的哈希值
算法 | 哈希摘要 | |
---|---|---|
SHA256 | 615ace1ef9ff37cd673cea3e241bb3593adfe75ac3f1439e0a9c446d9bdd99f0 |
|
MD5 | 31c07200dabdc442cd29f695bc6ac497 |
|
BLAKE2b-256 | 5cd7f03cdb1f1d295f58eed9fc54ac0c7dd740deef9e61be4dae127dc00dd2b1 |
关闭
pythondata_software_compiler_rt-0.0.post6206-py3-none-any.whl 的哈希值
算法 | 哈希摘要 | |
---|---|---|
SHA256 | dcaa7c6cc09a47271a98e9a9b47834b31384919aaa74034e0f184d3e9068c11e |
|
MD5 | dbe872d0f8da5bfd3645f8af105bdf6c |
|
BLAKE2b-256 | 1c32b93385d2ec34296c33fe39035f8266905052e5cc269c571d3d6cafcf51a3 |