資源簡(jiǎn)介
Python解析A2L文件
代碼片段和文件信息
#!/bin/env/python
from?distutils.core?import?setup?Extension
import?os
import?sys
from?setuptools?import?find_packages
from?glob?import?glob
ANTLR_VERSION?=?‘4.7.2‘
ANTLR_RT?=?“antlr4-python3-runtime=={}“.format(ANTLR_VERSION)?if?sys.version_info.major?==?3?else?“antlr4-python2-runtime=={}“.format(ANTLR_VERSION)
install_reqs?=?[ANTLR_RT?‘mako‘?‘six‘?‘SQLAlchemy‘?‘sortedcontainers‘]
if?sys.version_info.major?==?2?or?(sys.version_info.major?==?3?and?sys.version_info.minor?4):
????install_reqs.extend([‘enum34‘?‘mock‘])
with?open(os.path.join(‘pya2l‘?‘version.py‘)?‘r‘)?as?f:
????for?line?in?f:
????????if?line.startswith(‘__version__‘):
????????????version?=?line.split(‘=‘)[-1].strip().strip(‘“‘)
????????????break
with?open(“README.md“?“r“)?as?fh:
????long_description?=?fh.read()
setup(
????name?=?‘pya2l‘
????version=version
????description?=?“A2L?for?Python“
????long_description=long_description
????long_description_content_type=“text/markdown“
????author?=?‘Christo
?屬性????????????大小?????日期????時(shí)間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2019-11-16?10:52??pyA2L-master\
?????文件?????????145??2019-11-16?10:52??pyA2L-master\.bumpversion.cfg
?????文件?????????843??2019-11-16?10:52??pyA2L-master\.codeclimate.yml
?????文件??????????46??2019-11-16?10:52??pyA2L-master\.coveralls.yml
?????目錄???????????0??2019-11-16?10:52??pyA2L-master\.github\
?????文件??????????23??2019-11-16?10:52??pyA2L-master\.github\FUNDING.yml
?????文件?????????638??2019-11-16?10:52??pyA2L-master\.github\PULL_REQUEST_TEMPLATE.md
?????文件???????18221??2019-11-16?10:52??pyA2L-master\.pylintrc
?????文件?????????764??2019-11-16?10:52??pyA2L-master\.travis.yml
?????文件????????3222??2019-11-16?10:52??pyA2L-master\CODE_OF_CONDUCT.md
?????文件???????18092??2019-11-16?10:52??pyA2L-master\LICENSE
?????文件????????1153??2019-11-16?10:52??pyA2L-master\README.md
?????文件????????3282??2019-11-16?10:52??pyA2L-master\appveyor.yml
?????文件?????????838??2019-11-16?10:52??pyA2L-master\build.cmd
?????目錄???????????0??2019-11-16?10:52??pyA2L-master\docs\
?????文件?????????603??2019-11-16?10:52??pyA2L-master\docs\Makefile
?????文件??????????47??2019-11-16?10:52??pyA2L-master\docs\apidoc.sh
?????文件????????5760??2019-11-16?10:52??pyA2L-master\docs\conf.py
?????文件??????????36??2019-11-16?10:52??pyA2L-master\docs\configuration.rst
?????文件??????????71??2019-11-16?10:52??pyA2L-master\docs\howto.rst
?????文件?????????521??2019-11-16?10:52??pyA2L-master\docs\index.rst
?????文件?????????251??2019-11-16?10:52??pyA2L-master\docs\installation.rst
?????文件??????????59??2019-11-16?10:52??pyA2L-master\docs\modules.rst
?????文件????????2624??2019-11-16?10:52??pyA2L-master\docs\pya2l.rst
?????文件??????????24??2019-11-16?10:52??pyA2L-master\docs\tutorial.rst
?????目錄???????????0??2019-11-16?10:52??pyA2L-master\examples\
?????文件????????2318??2019-11-16?10:52??pyA2L-master\examples\AMLTemplate.aml
?????文件??????157606??2019-11-16?10:52??pyA2L-master\examples\ASAP2_Demo_V161.a2l
?????文件???????71941??2019-11-16?10:52??pyA2L-master\examples\ASAP2_Demo_V161.aml
?????文件????????3087??2019-11-16?10:52??pyA2L-master\examples\ASAP2_Demo_V161_ifdata_section.a2l
?????文件???????13358??2019-11-16?10:52??pyA2L-master\examples\engine_ecu.a2l
............此處省略56個(gè)文件信息
- 上一篇:Python幾行代碼寫完數(shù)組的增刪查改排序
- 下一篇:pip配置阿里源
評(píng)論
共有 條評(píng)論